Thread: Problem debugging from Geany IDE
on ubuntu 8.10 using geany 0.18 , geanygdb 0.0.2.
totally new geany , geanygdb (want see can do) , have downloaded , built these sources.
geany 0.18 works , can see debugging sidebar in side panel.
on startup load , options active in debugging sidebar, other entries inactive/greyed. when give program executable name load, unload, run, watches, break , environ functions become active.
on click of run program runs completion following appearing in compiler messages area:
starting gdb (pid=24814)
gdb configured "i486-linux-gnu".
"gnome-terminal" "--title" "debug terminal" "-x" "/usr/local/bin/geanygdb_ttyhelper" "/home/ken/.config/geany/plugins/debugger/24712.tty"
attaching terminal /dev/pts/1
current language: auto; asm
started target process. (pid=24822)
program exited normally.
target process exited. (pid=24822; code=0)
output test program in /home/ken/projects/geanytest/main.c
to gnome-terminal (selected geanygdb options) correct.code:int main(int argc, char** argv) { int = 1 ; int b = 2 ; int c = a+b ; printf ( "c=%d\npress key\n" , c ) ; int ch= getchar ( ) ; return 0; }
not set breakpoints. when placed caret/cursor on line 26 (int b=2 , clicked breaks add breakpoints dialog popped /home/ken/projects/geanytest/main.c preset filename , 26 preset line number. on clicking ok error 'no source file named /home/ken/projects/geanytest/main.c'.
don't know causing this.
grateful advice.
have set debugging flag when compile?
had similar problems, i'm running windows right now, try , respond more info when find did work.
btw geany dbg not good, sensitive commands , lacks options more advanced debuggers included in codeblocks (c/c++), netbeans, , eclipse.
however, enjoy geany speed, small size, , compatibility. explain why debugger not right now.
geany rocks, dont me wrong, love using it, debugger still plugin, needs work.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Problem debugging from Geany IDE
Ubuntu
Comments
Post a Comment