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
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.