- Right Click.
- Expand the 'Breakpoint' menu item.
- Click 'Insert Tracepoint'
- Enter a message
You'll now have whatever message you want printed out in the output window. It can print the calling method, stack trace and a whole raft of other stuff.
Although I'm quite inclined to use Trace.Write() in a web app (I figure if it's something you want to know when you're writing it initially, it'll be useful to know when it's actually in use), there are times when it's a bit of overkill putting a permanent trace in for some of the stuff you're debugging.
Neat eh? I've just discovered that it's there is Visual Studio but not the Express Editions.
Just wanted to share.