Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » the debugger
Re: the debugger [message #17442 is a reply to message #17358] Fri, 15 August 2008 12:32 Go to previous messageGo to previous message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
I wants to know why gdb is a problem.
I'am not expert in debuggers but with gdb you can display values of very complex types adding some scripts or complex expression like these

display *(vec._M_impl._M_start + 3)
-> equivalent to vec[3]

or

define vector
printf "size=%d\n", $arg0._M_impl._M_finish - $arg0._M_impl._M_start
printf "capacity=%d\n", $arg0._M_impl._M_end_of_storage - $arg0._M_impl._M_start
end

to display size and capacity of a vector

This is examples but for me a lot a of expression can be evaluate by gdb and it would be great to do the same in theide !

cocob
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A problem with UPP application scale . . . UPP exonerated, the rest of the story.
Next Topic: Project isn't portable from windows to linux
Goto Forum:
  


Current Time: Wed Feb 19 18:58:43 CET 2020

Total time taken to generate the page: 0.01379 seconds