Talk:Debug generated C code

Revision as of 00:30, 26 November 2009 by Larryl (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is for MS-Windows only.

It would be nice to have the instructions for Linux, and Mac OSX. --Colin-adams 15:41, 8 June 2009 (UTC)

When debug C code in a library Clib (*.lib) with Visual Studio, $ISE_EIFFEL\studio\config\$ISE_PLATFORM\msc\config.sh should be changed also.

Change from

optimize='-O2 -GS-'
debug=''

to

#optimize='-Od -GS'
#debug='-Zi -DISE_USE_ASSERT'

Otherwise when `finish_freezing -library', the debug information would not added to the library C lib file.

Larryl 09:30, 26 November 2009 (UTC)