2009/05/10

Memo on Visual C++ Debugger

I look for the following in MSDN sometimes:

_crtBreakAlloc
It is the global variable to set bugging break at memory leak position by VC debugger.
If crt is DLL(msvcrtd), use "{,,msvcr71d.dll}_crtBreakAlloc" instead of this.
err
It is the global variable of VC for debugging, which always hold the result of GetLastError.
hr
It means the value with the hr on VC's watch windows as HRESULT type .
wm
It means the value with the wm on VC's watch windows as WM_MESSAGE type.

No comments:

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...