GDB is awesome!

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
Post Reply
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

GDB is awesome!

Post by nikki »

You can call C/C++ functions (not sure exactly to which extent) from right within GDB, in the context you've broken at! I hadn't known about this before! Check out section 3.1 here:-
A GDB Primer

Now that is awesome. :)
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 538

Re: GDB is awesome!

Post by Kojack »

Visual Studio has had that for years. :)
You can call functions from the quickwatch window while debugging.
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

Re: GDB is awesome!

Post by nikki »

Kojack wrote:Visual Studio has had that for years. :)
You can call functions from the quickwatch window while debugging.
Cool. I haven't used the debbuger in Visual Studio much, just checked the call stack when I get exceptions. I was addicted to using printf (or LogManager, or similar) for debugging. :)
Post Reply