User forums > Using Code::Blocks

Debugger doesn't work anymore

<< < (2/3) > >>

oBFusCATed:
Please try to replicate what commands cb is executing, so we can see which one is causing the problem.

Curlz:
At the end of the first log it says (now in english)


--- Code: ---[debug]> tty /dev/?
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]/dev/?: No such file or directory.
[debug]During startup program exited with code 1.
[debug]Starting program: /home/lennart/Dokumente/IGVP-Rechner/FDTD-Toroidal/bin/Debug/FDTD-Toroidal
[debug]>>>>>>cb_gdb:

During startup program exited with code 1.

[debug]> quit

Debugger finished with status 0

--- End code ---

Not sure, but it seems like gdb is trying to run the wrong file here?

oBFusCATed:
The output is pretty messed up.
Can you run the same commands in terminal and tell me which one is causing the problem?

Curlz:
Alright. The gdb tty/ dev/? before the run is causing the problem..

This is now from console

--- Code: ---
(gdb) tty /dev/?
(gdb) run
Starting program: /home/lennart/Dokumente/IGVP-Rechner/FDTD-Toroidal/bin/Debug/FDTD-Toroidal
/dev/?: No such file or directory.
During startup program exited with code 1.


--- End code ---

It's looking for the right program which is in /home/lennart/Dokumente/IGVP-Rechner/FDTD-Toroidal/bin/Debug/FDTD-Toroidal, but can't find the terminal dev/?.

oBFusCATed:
Interesting. What is your terminal command?
You can find it in Settings -> Environment -> General.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version