How to Write Native C++ Debugger Visualizers in gdb/ TotalView for Complicated Types. i Mean suppose we have one complex type which contains again more different types. how to get debug symbol of these complex type. Note: for Reference you can look at link which is for Visual Studio. But i need for gdb/TOtalView on linux. http://www.idigitalhouse.com/Blog/?p=83
thanks in advance.
Starting your program. Use the run command to start your program under GDB. You must first specify the program name (except on VxWorks) with an argument to GDB (see section Getting In and Out of GDB), or by using the file or exec-file command (see section Commands to specify files).
Gdb is a debugger for C (and C++). It allows you to do things like run the program up to a certain point then stop and print out the values of certain variables at that point, or step through the program one line at a time and print out the values of each variable after executing each line.
GDB and TotalView are completely different products.
Instructions for GDB are here.
Instructions for TotalView are here. If that link doesn't work, google has a copy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With