1

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?

L.M
  • 303
  • 2
  • 8

2 Answers2

1

Check out the answers in this post particularly the BreakWhenHit = false, Message, and Macro properties of the Breakpoint2 interface.

Community
  • 1
  • 1
Gloopy
  • 37,767
  • 15
  • 103
  • 71
0

Or you could also look at a logging framework like Log4Net.

Waylon Martinez
  • 153
  • 1
  • 4