c# - 你知道 '@eax' 的托管等价物吗?

标签 c# visual-studio-2008 debugging

在非托管开发世界中,您可以通过在调试器的监 window 口中键入“@eax”来观察方法的 DWORD 返回值。

有人知道托管代码中的等效快捷方式吗?

相关点:我了解到 VS2008 SP1 支持 $exception 作为 watch 窗口中的魔法词。您还知道其他快捷方式吗?

最佳答案

我不确定这是否正是您的意思,但是您可以为跟踪点打印出一些其他关键字:

  $ADDRESS      address of current instruction
  $CALLER       name of the previous function on the call stack
  $CALLSTACK    entire call stack
  $FUNCTION     name of the current function
  $PID          process ID for current process
  $PNAME        name of the current process
  $TID          thread ID for current thread
  $TNAME        name of the current thread

关于c# - 你知道 '@eax' 的托管等价物吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/375221/

相关文章:

visual-studio-2008 - Visual Studio.NET 2008 没有给我英语异常消息

debugging - Selector 的调试值

c# - 如何将 MySql 选择转换为字符串? C#

c# - WebMethod 在参数中接收 null

visual-studio-2008 - 无法在 Development Fabric 中运行 "HelloWorld"Azure 示例

计算读取操作返回的字节数

java - 在 Eclipse 中调试时查看设置变量值的位置

c# - SqlQuery 到 [NotMapped] 字段?

c# - WPF复制文件到预定义的目录

visual-studio - 是否可以混淆在 Visual Studio 2008 中创建的 ClickOnce 应用程序?