helmut fish wrote:
On the VS menu, use Debug -> Break All
"Alpha" <Al***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
Can someone tell me what combination of keys to press so I can break to
step
through code when I get a error message form my applicaton when I run it
from
V.S. 2003 in the debug mode? I'm not sure where the error is coming from
and
would be great if I can do that.
Thanks,
Alpha
F12 should also do it when the app has focus (i.e. you don't need to switch to
the debugger, just press F12.
Which brings up a related peeve for me: it used to be that if you had a menu
open, and pressed F12, it wouldn't break until /after/ a menu item had been
selected and it would break in your menu handling code. Now, it breaks
immediately and you end up in the actual system call. I much preferred it the
old way, and don't know if it is an artifact of the system or the debugger --
anyone know?