unable to debug code with std::string

Brian Dessent brian@dessent.net
Tue Jan 10 17:13:00 GMT 2006


Krzysztof Duleba wrote:

> Thanks. I don't like the idea of seeing this message anytime I debug code
> that's using std::string, though, and I don't think it's "normal".

If it bothers you, comment out the "if (pthread_key::is_good_object
(key))" check in thread.cc.  I'm not sure if it's possible for the app
to check at runtime if it's being debugged but if so that might be a
better way to handle it.  Either that or add some code to gdb to make it
possible to silently passthru SIGSEGVs generated/handled interally by
this "myfault" infrastructure.

> > There was a thread about this recently.
> 
> I must have missed it and I can't find it now. Any pointers?

It was the thread starting here:
<http://www.cygwin.com/ml/cygwin-xfree/2005-12/threads.html#00026>

Brian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list