- UID
- 139955
- 积分
- 0
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2004-5-20
- 最后登录
- 1970-1-1
|
发表于 2004-9-2 17:10:58
|
显示全部楼层
ObjectARX DebugAttach Addin
1. The DebugAttach Addin for Visual Studio's VC++ .NET implements a work around for the known debugging issue with locked version of AutoCAD 2004. In locked version of AutoCAD 2004 developers cannot start AutoCAD in the VC++ .NET debugger.
2. The recommended work around for this issue is to invoke AutoCAD 2004 manually and then attach the VC++ .NET debugger to a running acad.exe process. This can be done by setting the Project->Debugging->Attach property to 揧es? Invoke AutoCAD 2004, start the debugger in VC++ .NET and then attach to acad.exe by using the Processes dialog. The Processes dialog can be invoked using the menu Debug->Processes.
3. The DebugAttach Addin is designed to automate the above process, so that debugging AutoCAD 2004 is no different from debugging any other VC++ project.
4. The DebugAttach Addin will trap the VC++ .NET IDE抯 debug start commands (and also with short cut commands F5,F10 or F11) and starts AutoCAD 2004 and sets the Project->Debugging->Attach property to 揧es? This will enable Debugger to attach to the acad.exe automatically. When the debugging stops, the Attach property is set back to its original value.
5. This Addin is inactive for all VC++ projects whose output file name does not have either of the extensions ".arx" or ".dbx".
6. The developer can toggle the active status of the Addin by clicking on the command button on the toolbar. If inactive, the VC++ .NET IDE抯 normal behavior is restored. |
|