Debugging GCC STL: Debugger break instead of abort?
Debugging GCC STL: Debugger break instead of abort?
- Subject: Debugging GCC STL: Debugger break instead of abort?
- From: Thomas Engelmeier <email@hidden>
- Date: Wed, 8 Mar 2006 13:51:47 +0100
Hi,
Sounds pretty basic, but how does one set an breakpoint related to
STL debugging (_GLIBCXX_DEBUG) errors? The error might be within my
main application or one of the 10 loaded Plug-Ins.
I tried to:
- set an breakpoint in safe_iterator.h
- set breakpoints in the relevant functions of formatter.h
but I don't get an break into the debugger. Is there an better place
to put an breakpoint? abort()? Or did I miss some customizable
behavior of the GCC STL?
On the console I get:
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/c++/4.0.0/debug/
safe_iterator.h:419:
error: attempt to compare a singular iterator to a past-the-end
iterator
.
Objects involved in the operation:
iterator "lhs" @ 0x0xf0101324 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPSsN10__gn
u_norm6vectorISsSaISsEEEEEN15__gnu_debug_def6vectorISsS6_EEEE
(mutable iterator);
state = singular;
}
iterator "rhs" @ 0x0xf010128c {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPSsN10__gn
u_norm6vectorISsSaISsEEEEEN15__gnu_debug_def6vectorISsS6_EEEE
(mutable iterator);
state = past-the-end;
references sequence with type
`N15__gnu_debug_def6vectorISsSaISsEEE' @ 0x0xf010128c
}
TIA,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden