Monday, August 10, 2009

Debugging Visual C++ applications

Sometimes, the simplest trick is the best. I'm sure you all know this, but to debug a Windows application (for exampe a Windows NT Service), call 'DebugBreak'. In many situations this can be more handy than setting a breakpoint.

int main(int argc, char** argv)

{

DebugBreak();

No comments:

Post a Comment