Author Topic: Trigonometric functions not being displayed correctly in debug  (Read 2801 times)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Trigonometric functions not being displayed correctly in debug
« Reply #1 on: April 18, 2018, 08:23:57 am »
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!]