Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: willkn on November 09, 2006, 11:47:51 pm

Title: Can't view source files in Call Stack
Post by: willkn on November 09, 2006, 11:47:51 pm
Hi, I'm using CodeBlocks and really like it, but have a problem getting it to jump to files in the Call Stack, when these source files are in an external library. I've compiled the external library with debug code, and have no problem setting breakpoints and stepping through the external library source file if I already have it loaded in the GUI. But it would be really nice if I could just double-click on various functions in the Call Stack and have the GUI load the file and jump there. I tried sending a user command to the debugger (gdb version 6.3) to add the path to the external library source directory ('dir [path-to-lib-sources]'), but that doesn't do anything. Seems like some directory path in CodeBlocks itself needs to be set, but I don't know where. Any suggestions?

I'm running CodeBlocks build Oct 12, 2006 on mingw.
Title: Re: Can't view source files in Call Stack
Post by: mandrav on November 10, 2006, 12:59:47 am
This sounds strange...
Try right-clicking in the callstack and select "Switch to frame".
Title: Re: Can't view source files in Call Stack
Post by: willkn on November 10, 2006, 01:43:38 am
Hey, that works. Thanks!