发信人: dongyun (冬云), 信区: CRC
标  题: Debugging in OPNET with VC
发信站: 哈工大紫丁香 (2001年04月28日10:07:41 星期六), 站内信件

发信人: Silvan (早睡早起), 信区: Commun
标  题: Debugging in OPNET with VC
发信站: BBS 水木清华站 (Mon Mar 26 19:18:09 2001)

You can find this doc with a lot pics in "Contributed Papers" at opnet.
com
ftp://opguest2:opguest2@corporate7.opnet.com/57/debugging.doc

Debugging in OPNET with Microsoft Development Studio

- Quick Reference -

John M. Clark
OPNET Technologies, Inc.
February 9, 2000


OPNET Modeler:
1) Add appropriate compiler flags to the environment attributes:
?bind_shobj_flags - /DEBUG /DEBUGTYPE:BOTH
?comp_flags - /Z7 /Od
2) Include appropriate environment files:
?Debug Mode -use ODB capabilities in conjunction with MS Development 
Studio

?comp_flags - /Z7 /Od
?Force Compile - make sure object code has debugging information
3) Execute simulation:
Microsoft Development Studio:
4) Open the "op_runsim_dev.exe" executable:
5) Change the project settings to include the appropriate shared 
object simu
lation file (.so):
6) Open the process model, external file, or pipeline stage 'C' source 
code:

7) Set breakpoints:
8) Attach the debugger to the active simulation process:
OPNET ODB:
9) Continue the simulation (or set breakpoints within ODB):
When a breakpoint in MS Development Studio is reached, the debugger will
 be
invoked

--

※ 修改:·Silvan 於 Mar 26 19:19:59 修改本文·[FROM:    138.37.32.59]
※ 来源:·BBS 水木清华站 smth.org·[FROM: 138.37.32.59]

--
心如湖水,波澜不惊

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: es.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.403毫秒