GDB debug - not listing the source code

asked 2017-04-17 05:41:55 -0500

Albtech gravatar image

updated 2017-04-17 05:42:20 -0500

Hi guys,

I do run the binaries of my ros node using: $ gdb node from within the binary folder of my package and I do set accordingly breakpoints but when the execution reaches the breakpoint and I want to list the code via List function, it shows me this:

(gdb) l

1 <built-in>: No such file or directory.

Has anyone faced this problem before? Could you please give me a hint what I may be doing wrong?

Thank you!

edit retag flag offensive close merge delete