There are some questions with CodeLite version 2.5.2.4031 that was installed from a ports on OS FreeBSD 8.1:
1) "Breakpoint creation unsuccessful", wherever i try set it in code:
Code: Select all
#include <stdio.h>
int main(int argc, char **argv)
{
int i=0;
for(i=0; i<10; i++) {
printf("hello world[%d]\n",i);
}
return 0;
}
playback example in "Hello world" video)
2) After click on "Start/Continue debugger" button the empty form created (without "hello world"), is it right? (If i open file that compiled with 'cc -g' options All is OK.)
3) Does CodeLite can understand emacs hotkeys?
Thanks.
Code: Select all
Using gdbinit file: /home/sly/.gdbinit
Current working dir: /mnt/s8/c/test/12
Launching gdb from : ./Debug
Starting debugger : gdb --tty=/dev/pts/4 --interpreter=mi "./12"
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000032-break-insert "\"/mnt/s8/c/test/12/main.cpp:6\""
DEBUG>>00000033-break-insert "\"/mnt/s8/c/test/main.c:6\""
Debug session started successfully!
DEBUG>>00000034-exec-run
DEBUG>>~"GNU gdb 6.1.1 [FreeBSD]\n"
GNU gdb 6.1.1 [FreeBSD]
DEBUG>>~"Copyright 2004 Free Software Foundation, Inc.\n"
Copyright 2004 Free Software Foundation, Inc.
DEBUG>>~"GDB is free software, covered by the GNU General Public License, and you are\n"
GDB is free software, covered by the GNU General Public License, and you are
DEBUG>>~"welcome to change it and/or distribute copies of it under certain conditions.\n"
welcome to change it and/or distribute copies of it under certain conditions.
DEBUG>>~"Type \"show copying\" to see the conditions.\n"
Type "show copying" to see the conditions.
DEBUG>>~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
There is absolutely no warranty for GDB. Type "show warranty" for details.
DEBUG>>~"This GDB was configured as \"i386-marcel-freebsd\"..."
This GDB was configured as "i386-marcel-freebsd"...
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000032^error,msg="No symbol table is loaded. Use the \"file\" command."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No symbol table is loaded. Use the \"file\" command.""
No symbol table is loaded. Use the "file" command.
DEBUG>>&"No symbol table is loaded. Use the \"file\" command.\n"
DEBUG>>00000033^error,msg="No symbol table is loaded. Use the \"file\" command."
Breakpoint creation unsuccessful
ERROR: failed to place breakpoint: "^error,msg="No symbol table is loaded. Use the \"file\" command.""
No symbol table is loaded. Use the "file" command.
DEBUG>>00000034^running
Continuing...
DEBUG>>&"No executable file specified.\n"
DEBUG>>&"Use the \"file\" or \"exec-file\" command.\n"
DEBUG>>00000034^error,msg="No executable file specified.\nUse the \"file\" or \"exec-file\" command."
No executable file specified.\nUse the "file" or "exec-file" command.