Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Enabling Pretty Print breaks debugger(Breakpoints stop working in the debugger if I enable pretty print)
Enabling Pretty Print breaks debugger [message #826389] Wed, 21 March 2012 22:08 Go to next message
Eclipse UserFriend
Used the instructions here: help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_whatsnew.htm

If I provide a .gdbinit of that form, I can't use breakpoints, which makes debugging worthless.

Python is installed, gdb is 7.3, gdb starts fine with that gdbinit.
Re: Enabling Pretty Print breaks debugger [message #826615 is a reply to message #826389] Thu, 22 March 2012 05:43 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
..I can't use breakpoints..

What happens? Does gdb not halt at the breakpoint? Does it work on command line gdb with this .gdbinit?
Re: Enabling Pretty Print breaks debugger [message #826828 is a reply to message #826615] Thu, 22 March 2012 10:55 Go to previous message
Eclipse UserFriend
STL Pretty printers have a problem dealing with uninitialized variables. It is possible that is what is happening to you. You may want to run your program until your STL structures are initialized and then displaying the variables/expressions view.

Marc
Previous Topic:Create a C++ project in workspace programmatically
Next Topic:How to add another toolchain
Goto Forum:
  


Current Time: Sat Jun 14 14:11:15 EDT 2025

Powered by FUDForum. Page generated in 0.03911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top