How do you do this? If the code is called from an internal Windows function as a callback to your method, the debugger never seems to know when it is in the callback code. Is is a degugger feature that gdb is lacking, or just one of those things? Of course, my errors are all in one callback. 
gubmo
gubmo