[fpc-devel] In FPC written FPC Debugger
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Feb 24 11:03:01 CET 2008
On 22 Feb 2008, at 18:44, Johann Glaser wrote:
> I want to second that. GDB also lacks some features very useful for C
> ++
> programmers (yes, I have to use it):
> - Display STL types (e.g. std::string, std::vector, std::map). These
> are the "usual" way of making strings and containers in C++ and are
> quite complex internally. GDB displays this internal structure of
> these types instead of beautifying it according to its semantics. For
> the containers it's even impossible to view its elements.
This is a limitation of the user interface you are using on top of the
gdb infrastructure, as e.g. Xcode (which uses the gdb mi) does display
such types.
> - Set breakpoints within template functions. A template function might
> be instantiated multiple times, i.e. for every type it is used for.
> If you set a breakpoint at the source line within a template
> function, only one instantiation is (randomly?) chosen.
Use the rbreak command instead of break (and you may also have to use
dwarf instead of stabs).
Jonas
More information about the fpc-devel
mailing list