Reputation: 423
This is in reference to the Visual Studio automation interface. It is possible to set breakpoints in a program using the method:
EnvDTE.Debugger.Breakpoints.Add(...)
However, I don't think it's possible to configure trace points this way. Any ideas?
Upvotes: 1
Views: 101
Reputation: 153
Or you could also look at a logging framework like Log4Net.
Upvotes: 0
Reputation: 37785
Check out the answers in this post particularly the BreakWhenHit = false, Message, and Macro properties of the Breakpoint2 interface.
Upvotes: 1