User forums > Using Code::Blocks

Debugger doesn't run on SAMBA share

<< < (3/3)

BlueHazzard:
the commands for gdb appear with a single ">" in the log.
not all commands are really necessary


--- Quote ---/bin/gdb -nx -fullname -quiet  -args /run/user/1000/gvfs/smb-share:server=192.168.1.5,share=public/CodeBlocksProjects/debugTest/bin/Debug/debugTest
--- End quote ---
starts gdb (i am amazed that this works right away)


--- Quote ---show version
--- End quote ---
shows version (not necessary)

so this should be the commands you need:

--- Code: ---/bin/gdb -nx -fullname -quiet  -args /run/user/1000/gvfs/smb-share:server=192.168.1.5,share=public/CodeBlocksProjects/debugTest/bin/Debug/debugTest
set confirm off
 set breakpoint pending on
set unwindonsignal on
catch throw
directory /run/user/1000/gvfs/smb-share:server=192.168.1.5,share=public/CodeBlocksProjects/debugTest/
break "/run/user/1000/gvfs/smb-share:server=192.168.1.5,share=public/CodeBlocksProjects/debugTest/main.c:6"
run

--- End code ---






Navigation

[0] Message Index

[*] Previous page

Go to full version