News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

view return codes of functions while debugging?

Started by MoonKid, April 01, 2006, 08:48:12 PM

Previous topic - Next topic

MoonKid

Is it possible to view the return values/codes of functions while I am debugging?

I found nothing in the watchlist and callstack view.

MortenMacFly

Quote from: MoonKid on April 01, 2006, 08:48:12 PM
Is it possible to view the return values/codes of functions while I am debugging?
Set a breakpoint at the line containing the "return my_value;" or similar of the function to inspect...?!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]