I am applying INET-framework for "MPLS multicast" simulation.
I just create a new project in omnetpp (IDE), and do as the example in
INET giving some configuration files (like lib. fec and etc) in the
project folder under the omnetpp/sample fold. My inet-framework
source code is in another folder. I use it just for project
references and I have change some codes.
I follow the tutorial to uncomment CFLAGS='-g -Wall' .
and add in the omnetpp.ini (of my project) debug-on-error = true
But still I can't use gdb to trace the source code.
I use the "EV" to print the output, but My program aborts abruptly. I
have no way of what is going on.
Would you be troubled to give me some tutorial?
Best regards.
In which tutorial did you find "uncomment CFLAGS='-g -Wall'"? So that we can
remove it. It is obsolete (for 3.x).
From the IDE, select the "gcc-debug" built configuration (in the project's
context menu), and rebuilt.
Or, on the command line, the equivalent would be "make MODE=debug".
In the IDE, just use the "Debug" button to launch the simulation.
Regards
Andras
Hi, body!
Best regards.
--
You received this message because you are subscribed to the Google Groups
"omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to
omnetpp+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/omnetpp?hl=en.
Tkenv huge font size: fonts and font sizes can be changed in the Simulation
Options dialog. Unfortunately what is the right font size in N Linux distros
will be complete off in the (N+1)th. On the long term we'll be replacing
Tkenv with a Java/RCP based runtime, with much better animation
capabilities...
Upgrade to CDT 6.02: we'll be releasing the first milestone of 4.1 in the
next days, with the latest Eclipse and CDT.
Debug problem: this is likely a CDT and/or gdb issue (we didn't touch the
CDT debugging [or editing] part, only the build process). Please post if you
find out something...
Tkenv huge font size: fonts and font sizes can be changed in the Simulation
Options dialog. Unfortunately what is the right font size in N Linux distros
will be complete off in the (N+1)th. On the long term we'll be replacing
Tkenv with a Java/RCP based runtime, with much better animation
capabilities...
Upgrade to CDT 6.02: we'll be releasing the first milestone of 4.1 in the
next days, with the latest Eclipse and CDT.
Tkenv font size: I see, it's really ugly... To switch to another version, edit TK_CFLAGS and TK_LIBS in configure.user (or in Makefile.inc after ./configure). It may improve the situation. Another way is to edit the font settings in the source: src/tkenv/widgets.tcl, proc setupTkOptions, around line 130 (then you need to rebuild tkenv, unless you had EMBED_TCL_CODE=no in configure.user).
Andras