Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DEBUG - TRACE coomand

Status
Not open for further replies.

IonelBurtan

Programmer
May 25, 2001
601
RO
Look what I fount look through the debugging commands of SDK API:

1.OutputDebugString("Test");

This is a command that does the same thing the TRACE macro makes in MFC environment, sends a string to the output debug window of MSDEV.

2.Force a breakpoint to a specified point in your program with the following two commands:

if (IsDebuggerPresent())
DebugBreak();

I personally needed this commands some time ago but I didn,t find them, so I thought that this can be useful for any of you.

Good luck, s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top