Process Functions for Debugging
来源:互联网 发布:非洲网络制式 编辑:程序博客网 时间:2024/05/18 03:10
原文链接:http://msdn.microsoft.com/en-us/library/windows/desktop/ms680549%28v=vs.85%29.aspx
本文链接:http://blog.csdn.net/wlsgzl/article/details/18624673
The CreateProcess function enables a debugger to start a process and debug it.CreateProcess函数允许调试器开始进程并且调试。The fdwCreate parameter of CreateProcess is used to specify the type of debugging operation.CreateProcess函数的fdwCreate参数用于指定调试操作的类型。If the DEBUG_PROCESS flag is specified for the parameter, a debugger debugs the new process and all of the process's descendants, provided that the descendants are created without the DEBUG_PROCESS flag.如果参数指定了DEBUG_PROCESS,调试器调试新进程以及该进程的所有派生进程(仅当派生进程在创建时没有使用DEBUG_PROCESS标志)。
If the DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are specified for fdwCreate, a debugger debugs the new process but none of its descendants.如果fdwCreate参数指定了DEBUG_PROCESS和DEBUG_ONLY_THIS_PROCESS,调试器只调试新进程而不管它的派生进程。
One debugger can debug another by creating a process with the DEBUG_PROCESS flag. 一个调试器可以调试其他的调试器,通过创建进程时使用DEBUG_PROCESS标志。The new process (the debugger being debugged) must then create a process with the DEBUG_PROCESS flag.被调试的调试器创建进程时必须使用DEBUG_PROCESS标志。
The OpenProcess function enables a debugger to obtain the identifier of an existing process.OpenProcess函数允许一个调试器获得已经存在的进程的ID。 (The DebugActiveProcess function uses this identifier to attach the debugger to the process.) (DebugActiveProcess函数使用这个ID附加调试器到进程上。)Typically, debuggers open a process with the PROCESS_VM_READ and PROCESS_VM_WRITE flags. 通常调试器使用PROCESS_VM_READ和PROCESS_VM_WRITE标志打开进程。Using these flags enables the debugger to read from and write to the virtual memory of the process by using the ReadProcessMemory and WriteProcessMemory functions. 通过这些标志,调试器可以通过ReadProcessMemory和WriteProcessMemory函数读写进程的虚拟内存。For more information, see Processes and Threads.更多信息参见Processes and Threads。
- Process Functions for Debugging
- Thread Functions for Debugging
- Exception Handling Functions for Debugging
- Debugging Functions
- Linux Debugging 5 - Process
- Debugging a Running Process
- Common Process Functions
- Linux Debugging 6 - Process Tracing
- Debugging with Attach to Process
- Debugging Tools for Windows
- Debugging Tools for Windows
- Design for debugging
- Allow Debugging for SharePoint
- gcc compiling for debugging
- Debugging Portal for linux
- Debugging the Development Process: Practical Strategies
- [UE4] Debugging the Shader Compiling Process
- Memcached Functions for MySQL
- 《将博客搬至CSDN》
- 路漫漫其修远兮,吾将坚持而不屑
- hdoj2007解题报告
- 黑马程序员-网络编程- 第一天
- ValidateRequest=false 无效(.Net 4.0 )
- Process Functions for Debugging
- POJ1054-烦人的青蛙
- OpenCV实现resize和crop当前文件夹下所有图片
- HDU1724-辛普森积分公式法求椭圆面积
- 思考与总结【1】:学会质疑
- 在eclipse中使用SVN从网上导入导出项目 一看就懂
- hdoj2008解题报告
- 回顾工作中用到的知识1
- screenX clientX pageX概念