Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger variables view problem (Luna SR1)
Debugger variables view problem (Luna SR1) [message #1483294] Sat, 22 November 2014 13:25 Go to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
Hi,

For some reason I cannot inspect the variables in Variables View in the
CDT in my main-function. I expect that if I have a std::shared_ptr<>
that I can insect the embedded pointer and the attributes of the
embedded pointer. But all I get is some sort of text-based view of my
variables in a column format. It appears that if I step into a
member-function of an object that I can do what I want.

Attached is a screenshot that shows the problem.

Is it possible what I want? Should it work as I expect?



TIA

Joost


Cheers,

Joost
Re: Debugger variables view problem (Luna SR1) [message #1488189 is a reply to message #1483294] Wed, 26 November 2014 11:35 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
https://wiki.eclipse.org/CDT/User/FAQ#How_can_I_inspect_the_contents_of_STL_containers.3F

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Debugger variables view problem (Luna SR1) [message #1488785 is a reply to message #1488189] Wed, 26 November 2014 22:50 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
On 26-11-14 12:35, Axel Mueller wrote:
> https://wiki.eclipse.org/CDT/User/FAQ#How_can_I_inspect_the_contents_of_STL_containers.3F
Doing so leads to the error:

Error in final launch sequence
Failed to execute MI command:
source /home/jkr/.gdbinit
Error message from debugger back end:
/home/jkr/.gdbinit:6: Error in sourced command file:\nError while
executing Python code.
/home/jkr/.gdbinit:6: Error in sourced command file:\nError while
executing Python code.

Any ideas?


Cheers,

Joost
Previous Topic:Different Formats for headers and source
Next Topic:Why is C99 mode not enabled by default
Goto Forum:
  


Current Time: Wed Apr 24 15:28:58 GMT 2024

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

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

Back to the top