:: [opnet] OPnet debugging TIPS. ::
HOME


[Date Prev][Date Next][Date Index]

[opnet] OPnet debugging TIPS.


1. Compile the code by setting the "kernel_type" attribute in the
preferences to "Development"

This will cause the kernel to execute slowly, but u can debug.

2. The debugging is command line by using the command

op_runsim -net_name <project_name-scenario_name> -debug

3. After u come to the odb prompt, "odb>", use the following

>help all

u will see a listing.

Of this the important commands that i have encountered so far are

next -- to go the the next event

evstop ## -- set a breakpoint on an event

cont -- to jump to the next breakpoint

fulltrace -- to enable full trace (this has been ver helpfull)

I will add more as i encounter them

Shashank
Regards
Shashank
http://mia.ece.uic.edu/~papers