本文收集VS2017调试小技巧
$ADDRESS | Current instruction |
$CALLER | Calling function name |
$CALLSTACK | Call stack |
$FUNCTION | Current function name |
$PID | Process ID |
$PNAME | Process name |
$TID | Thread ID |
$TNAME | Thread name |
$TICK | Tick count (from Windows GetTickCount) |
Set Function Breakpoint
1.{,,[module] } expression
{,,EXAMPLE.dll}SomeFunction
2.module!expression
EXAMPLE.dll!SomeFunction
In addition, you can enter functions in the Immediate window to view return values. (Open it using Debug > Windows > Immediate.)
参考链接