Debugger and variable values display
Posted: Thu May 30, 2024 11:15 pm
Hello,
I wanted to point out a problem I've been seeing for as long as I can remember (since 2004? maybe it's been there since the beginning?).
Perhaps it has already been reported?
Maybe there's a good reason for it?
I've decided to report it today. Who knows why?
It's a issue that occurs in 'Standalone GUI debugger' mode and not in 'Integrated IDE debugger' (I've never tested in console mode).
The code:
First compile in 'Integrated IDE debugger' mode
Point the cursor at the variable name 'Variable' on each Debug line.
Each time, the value of 'Variable' is displayed in a tooltip.
Now compile in 'Standalone GUI debugger' mode and repeat the pointing operations.
On the second Debug line, no tooltip is displayed in English GUI or a message 'Variable introuvable' is displayed in French GUI.
Of course, the order of compilation modes has nothing to do with this problem.
Voilà.
I wanted to point out a problem I've been seeing for as long as I can remember (since 2004? maybe it's been there since the beginning?).
Perhaps it has already been reported?
Maybe there's a good reason for it?
I've decided to report it today. Who knows why?
It's a issue that occurs in 'Standalone GUI debugger' mode and not in 'Integrated IDE debugger' (I've never tested in console mode).
The code:
Code: Select all
Variable.a=255
Debug "The valeur of variable is "+Str(Variable)
Debug "The valeur of variable is "+Variable
; But you can test too with:
; Variable=Variable+VariablePoint the cursor at the variable name 'Variable' on each Debug line.
Each time, the value of 'Variable' is displayed in a tooltip.
Now compile in 'Standalone GUI debugger' mode and repeat the pointing operations.
On the second Debug line, no tooltip is displayed in English GUI or a message 'Variable introuvable' is displayed in French GUI.
Of course, the order of compilation modes has nothing to do with this problem.
Voilà.