Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rogeriodec on April 18, 2018, 02:55:18 am
-
In debug, if I want to watch, for example "cos(angle)" or "sin(angle)", it shows always the number 6.
To watch the correct result, I have to create a temporary variable to receive the result of "cos" or "sin" and then and this variable to watches.
Is it a bug?
-
This is a question for the developers of your debugger (probably gdb).
We don't develop a debugger, we just pass commands to it.
GDB can call functions in expressions, but this doesn't work 100% of the time.