Author Topic: Can't view source files in Call Stack  (Read 3345 times)

willkn

  • Guest
Can't view source files in Call Stack
« 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Can't view source files in Call Stack
« Reply #1 on: November 10, 2006, 12:59:47 am »
This sounds strange...
Try right-clicking in the callstack and select "Switch to frame".
Be patient!
This bug will be fixed soon...

willkn

  • Guest
Re: Can't view source files in Call Stack
« Reply #2 on: November 10, 2006, 01:43:38 am »
Hey, that works. Thanks!