Proposal: Debug option for translator

new topic     » topic index » view thread      » older message » newer message

I've submitted a new feature request on sourceforge to allow the translator 
to build debug versions of translated programs.  Most users may not be 
interested in using this feature.  It's probably more useful to developers
for debugging the translator or other compiled code (I've been doing this
manually for debugging wxEuphoria).

I've got some of the code working.  Does anyone have an objection or 
suggestion regarding this?  Below is the proposal as it exists on 
sourceforge:

http://sourceforge.net/tracker/index.php?func=detail&aid=1785187&group_id=182827&atid=902785
A new command line switch to build a debug version of a translated program.
Also an optional parameter to specify an optional runtime library
(presumably a debug library).

The switch would cause an additional compiler switch to generate debug
information (-g3 for gcc and Watcom, TBD for other compilers) and to
suppress the -fomit-frame-pointer switch for gcc (this switch can confuse
debugging tools like valgrind).

ecu -debug myapp.exu

ecu -debug=decu.a myapp.exu

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu