Author Topic: [Linux] program output when debugging  (Read 4489 times)

netdrake

  • Guest
[Linux] program output when debugging
« on: March 24, 2006, 09:41:02 pm »
Hello,
Im using codeblocks 1.0 rc2 on my debian (etch/testing) machine and i dont show program output window  :( while i debugging program  :( . Xterm is installed.

gdb ver: 6.4-1

some  lines from log:

> directory /home/netdrake/mysql/
frames-invalid
pre-prompt
prompt
post-prompt
pre-prompt
prompt
> file /home/netdrake/mysql/console
> delete
post-prompt
frames-invalid
breakpoints-invalid
frames-invalid
pre-prompt
prompt
> break main.c:18
post-prompt
pre-prompt
prompt
> set confirm off
post-prompt
breakpoints-invalid
pre-prompt
prompt
> set disassembly-flavor att
post-prompt
pre-prompt
prompt
> run
post-prompt
pre-prompt
prompt
post-prompt
frames-invalid
frames-invalid
breakpoints-invalid
starting
frames-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
breakpoints-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
breakpoint 1
frame-begin 0 0x80486df
frame-function-name
main
frame-args
frame-source-begin
frame-source-file
main.c
frame-source-file-end
frame-source-line
18
frame-source-end
source /home/netdrake/mysql/main.c:18:302:beg:0x80486df
frame-end
stopped
pre-prompt
prompt
> info args
post-prompt
No arguments.
pre-prompt
(gdb)
prompt
> info locals
post-prompt
conn = (MYSQL *) 0x804b320
pre-prompt
(gdb)
prompt



Anybody can help me please ?

Thanks
« Last Edit: March 24, 2006, 10:11:02 pm by netdrake »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: [Linux] program output when debugging
« Reply #1 on: March 25, 2006, 03:26:51 pm »
Im using codeblocks 1.0 rc2 on my debian (etch/testing) machine and i dont show program output window  :( while i debugging program  :( . Xterm is installed.

Please give a try to the latest .deb package (found in the nightly builds sub-forum) or build C::B from the latest SVN sources (if the ubuntu-made package would be not compatible with your distro). RC2 is now relatively old.

Best wishes,
Michael