Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] gcc debug option

If you create a C++ project using the New Project wizard, the build ends up explicitly specifying -g2. On Windows, this produces level 2 STABS information. This presents a problem on two fronts (maybe more; but these are two I'm aware of)

1. EDC doesn't support STABS; a debug launch just runs the program to completion
2. catchpoints on C++ exceptions don't work

I think it can be safely said that DWARF-2 is significantly better than STABS as far as the quality and scope of information. Should we not change the wizard so that -gdwarf-2 is specified instead? Is that not a better default?


Back to the top