VC++ 在Watch窗口显示GetLastError值以及详细信息
2024-10-21 10:28:53
You can display the value GetLastError() will return by putting "@err" in your watch window.
You can see the error message associated with that value by putting "@err,hr" in your watch window.
If you've placed an HRESULT in a variable, adding ",hr" to the variable name in the watch window will display the associated text.
The Watch windows or the QuickWatch dialog support some special (debugger-recognized) variables called pseudovariables.
The documented one include:
- $tid – the thread ID of the current thread
- $pid – the process ID
- $cmdline – the command line string that launched the program
- $user – information for the account running the program
- $registername – displays the content of the register registername
更详细:https://msdn.microsoft.com/en-us/library/ms164891.aspx
最新文章
- copy()之绝版应用
- offsetTop、clientTop、scrollTop、offsetTop属性
- MySQL语句执行顺序
- js中的逻辑与(&;&;)和逻辑或(||)(转载)
- NSSortDescriptor对象进行数组排序
- URL 学习总结
- 【转载】.NET面试题系列[0] - 写在前面
- 监控RAC中的临时表空间
- Axure 注册码
- [杂题]CSUOJ1276 Counting Route Sequence
- C#txt文件读写基本操作
- Data visualization 课程 笔记3
- Android 性能优化之减少UI过度绘制
- Python并发解决方案
- C# 元数据描述
- GC日志
- mysqlsh : mysql shell tutorial
- nginx 的 负载均衡
- 数据存储(直接写入、NSUserDefaults、NSkeyedArchiver)
- PL/SQL Developer 中文乱码问题的解决
热门文章
- VS报表图解《一》---菜鸟版
- 学习EF之CodeFirst一
- PyPy与VirtualEnv的安装问题
- 默认权限umask
- KindEditor 4.1.7的使用技巧
- 实现对数据进行分组小计并计算合计的实例 asp.net
- 使用AsParallel 进行并行化处理数据
- 现在的C语言编辑器里的int范围为什么是-2147483648~2147483647 2014-08-05 10:21 100人阅读 评论(0) 收藏
- js setInterval()函数 [倒计时用]
- hbase replication原理分析