Automatically attaching a debugger to a process every time it is launched
来源:互联网 发布:linux ls -l 编辑:程序博客网 时间:2024/05/22 12:03
Windows有一个叫机制可以帮助我们自动触发 任意可执行文件 的debug操作,可以看考http://blogs.msdn.com/b/greggm/archive/2005/02/21/377663.aspx
注意这段:
“On Win 64, there are two copies of HKEY_LOCAL_MACHINE/Software (one for 32-bit apps, and one for 64-bit apps), and therefore there are two copies of these options. However, where the operating system looks isn't dependent on the bit-ness of the application that is going to be debugged (which is what you would probably expect). Instead, it is dependent on the bit-ness of the application that called CreateProcess.”.
如果我们需要在Win64下启动debug的功能,我们需要修改在Wow6432Node 目录下的注册表。
注意,我们有几种方法来启动debugger: 通过vsjitdebugger.exe 或者 devenv /debugexe:
http://msdn.microsoft.com/en-us/library/a329t4ed(v=VS.80).aspx
http://msdn.microsoft.com/en-us/library/a329t4ed(vs.71).aspx
后一个着重讲述了一些特殊的设置,如果 需要debug进城 和 当前的进城 在用一个目录下的情况。
- Automatically attaching a debugger to a process every time it is launched
- It is a long time.
- Attaching the script debugger to process *** failed on machine "***"
- Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
- 001:Why is it faster to process a sorted array than an unsorted array?
- Why is it faster to process a sorted array than an unsorted array?
- Every Day is a Lucky
- Every activity runs in a separate process?
- Automatically Capturing a Dump When a Process Crashes
- what is a process?
- Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically a
- Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically a
- IDLE_TIME DOES NOT WORK TO SPECIFY WHEN A SESSION IS AUTOMATICALLY SNIPPED
- It's time for me to make a career planning
- Installed Flash Player Is Not a Debugger
- Is It A Tree?
- Is it a tree?
- Is It A Tree?
- flex piechart 钻取的实现
- iOS curl下载地址
- 正则表达式处理xml标记
- VS2008编译DCMTK3.5.4过程详解(1)
- 2011 May
- Automatically attaching a debugger to a process every time it is launched
- ubuntu10.10下内核编译,解决开机启动出现Could not load /lib/modules/.../modules.dep的问题
- Android-TextView多行本文滚动轻松实现
- Android Canvas的save和restore
- zend studio 调试php
- Ubuntu安装配置NX Server
- 二叉树的遍历;前序 中序 后序遍历二叉树;递归 非递归实现; 重建二叉树;编程之美重建二叉树
- 代理模式vs适配器模式vs外观模式
- wince中的BSP工程的相关文件介绍