News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Trigonometric functions not being displayed correctly in debug

Started by rogeriodec, April 18, 2018, 02:55:18 AM

Previous topic - Next topic

rogeriodec

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?
Windows 8.1

SVN 11400

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]