I\'m using GDB to step through the code. The problem is my code has functions from external files. Is there a way on stepping through inner functions?
I am on linux on an embedded dev开发者_如何学编程ice. My architecture is armv5. My fairly large (~30kloc) has some kind of heap corruption that happens over time.
I\'m having trouble creating an std::string (or any C++ object, I guess) in GDB. I tried lots of variations to the following and none of them seem to work:
I have a very basic question. I did look around like over here http://www.cs.cmu.edu/~gilpin/tutorial/ but still doubtfull..
I am very lost in Xcode 4. Watching a simple variable is a nightmare. I do not figure out how to just \"watch a variable value\". It was easier in Xcode 3...
I\'m using signal handlers in an Objective-C application to catch fatal errors, as SIGSEGV, SIGBUS and the like.
I have a strin开发者_JAVA技巧g which starts with the character \\0 - it\'s by design and I know its actual length.
Is there anyway开发者_Go百科 to name a breakpoint in GDB so when it is hit GDB gives some name instead of a number? (IE hit breakpoint !!!VERYIMPORTANTBREAKPOINT!!! in method main())no, there is no wa
GDB 7.0 added pretty prnting for STL object. However this implementation supports only GCC version of STL. If you are using Dinkum STL implementation for example, you probably see this message:
I want to debug a C program running multiple TCP server threads. I cannot set up a sophisticated Debugging tool as I have to debug in an embedded linux(busy box). I hoped it would natively support gdb