您好,欢迎来到99网。
搜索
您的当前位置:首页修改系统默认调试工具在mygeneration中的应用

修改系统默认调试工具在mygeneration中的应用

来源:99网

1.vs2010默认调试的注册表信息

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Auto"="0"
"Debugger"="\"C:\\Windows\\system32\\vsjitdebugger.exe\" -p %ld -e %ld"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList]
"DWM.exe"=dword:00000001

 

2.delphi7默认调试的注册表信息

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Debugger"="C:\\Program Files\\Borland\\Delphi7\\Bin\\bordbg70.exe -aeargs %ld %ld"
"Auto"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList]
"DWM.exe"=dword:00000001

 

3.mygeneration启动调试

方案一:分为以下步骤:

1.在模板方法Render() 中加入System.Diagnostics.Debugger.Launch();

2.执行模板一次,会调用vs进行调试.注意这时并不会带原码.

3.再执行模板一次.则会进入代码调试阶段.

方案二:(方案一比较通用)

1. Open up VS 2003/5 go to Tools-> External Tools.. menu.
2. Click on Add.
3. Bellow give whatever title you want to give.
4. For "Command”: Select ZeusCmd.exe from open window. Commonly it is located as C:\Program Files\MyGeneration\ZeusCmd.exe
5. For "Arguments”: -t "C:\complete\path\to\Template\File.zeus"
6. Check "Use Output Window" checkbox.
7. Click on OK.


 

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- 99spj.com 版权所有 湘ICP备2022005869号-5

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务