Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Output of GDB plugin

(1/1)

Morten:
Dear Code::Blocks - team,

I am using the GDB plugin quite often but I wonder:
There is a possibility to send commands to the debugger (Debug->Send command to GDB). But where is the result being printed? Obvioulsy not in the GDB log on the bottom of Code::Blocks... or am I missing something?

With reagrds,

Morten

Ps.: Thanks for a great (!) IDE! It rocks!

mandrav:

--- Quote ---There is a possibility to send commands to the debugger (Debug->Send command to GDB). But where is the result being printed? Obvioulsy not in the GDB log on the bottom of Code::Blocks... or am I missing something?
--- End quote ---

It 's printed in the gdb's debug log which is not visible in normal releases  :oops:

If you 've build C::B from sources, you have to change

--- Code: ---#define USE_DEBUG_LOG 0
--- End code ---

to

--- Code: ---#define USE_DEBUG_LOG 1
--- End code ---

in plugins/debuggergdb/debuggergdb.cpp and recompile.

The alternative is to submit a bug-report about it and wait for the fix in the next release (probably next week, so hurry!).

Yiannis.

rickg22:
Submitted bug report.

Navigation

[0] Message Index

Go to full version