User forums > Using Code::Blocks

How to view the return value of a function?

<< < (2/2)

chameleon:
I am here because I search for the same feature in CB after that reading https://stackoverflow.com/questions/267674/how-to-inspect-the-return-value-of-a-function-in-gdb
This is a MUST feature for CB gui.
If I want to write 'finish' in GDB console then the complete 'Watches' panel is useless because I can watch them with GDB console (I do not know GDB commands).

Propose:
In 'Watches' panel, an entry with the return value of the function exactly after return of the function. It stay in 'Watches' panel exactly for one debugging step. On next step disappear.

Navigation

[0] Message Index

[*] Previous page

Go to full version