“Hidden Secrets” of the Visual Studio .NET debugger? [closed]

One of my favorite features is the “When Hit…” option available on a breakpoint. You can print a message with the value of a variable along with lots of other information, such as:

  • $ADDRESS – Current Instruction
  • $CALLER – Previous Function Name
  • $CALLSTACK – Call Stack
  • $FUNCTION – Current Function Name
  • $PID – Process ID
  • $PNAME – Process Name
  • $TID – Thread ID
  • $TNAME – Thread Name

You can also have it run a macro, but I’ve never used that feature.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)