GDB and stepping over stl source code
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > GDB and stepping over stl source code




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    GDB and stepping over stl source code  
j_mckitrick@bigfoot.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-05 10:58 PM


I love stl::string(s).  They work very well for many application-level
projects.  But I hate how GDB steps into their code.  Is there a way I
can skip this inline code that is part of stl strings?  Unfortunately,
'next' doesn't help, since much of the stl code is 'inline.'

jonathon






[ Post a follow-up to this message ]



    Re: GDB and stepping over stl source code  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-05 10:58 PM

j_mckitrick@bigfoot.com writes:

> But I hate how GDB steps into their code.

Platform? g++ version? gdb version? compilation flags?

> Unfortunately,
> 'next' doesn't help, since much of the stl code is 'inline.'

It *should* help (inline has nothing to do with this, unless you
compile with '-g -O2'), but IIRC some combinations of gcc/gdb/OS
in fact do not work correctly.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:50 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register