sannybuilder/dev

Some issues with SB IDE

Closed this issue · 6 comments

I have noticed several non-crucial bugs over time that I want to share.

  1. Execution time in post-compile report is evaluated after report window is closed. If you keep report window open for 3s for eg, execution time will display as abnormally large (3000+ms)
    unknown_2023 07 31-10 41

  2. Each {$INCLUDE} seems to affect the position the caret is set when SB throws exception. On screen below with no {$INCLUDE} caret is set at test line when SB throws exception:
    unknown_2023 07 31-10 45_1

If I add 2 {$INCLUDE}s, then caret will be set 2 lines above test line when SB throws exception:
unknown_2023 07 31-10 51

And if I add more...
unknown_2023 07 31-10 52

  1. Status bar tooltips at the bottom of the window flicker a lot.
x87 commented

Execution time in post-compile report is evaluated after report window is closed

Just FYI: the report window can be disabled in the Options. https://docs.sannybuilder.com/editor/options/general#show-report
I personally have it disabled as I don't find it much useful for CLEO scripts.

x87 commented

Status bar tooltips at the bottom of the window flicker a lot.

note: this is a duplicate of #152

x87 commented

If I add 2 {$INCLUDE}s, then caret will be set 2 lines above test line when SB throws exception:

if you move {$INCLUDE}s under {$CLEO}, does Sanny show the correct line?

If I add 2 {$INCLUDE}s, then caret will be set 2 lines above test line when SB throws exception:

if you move {$INCLUDE}s under {$CLEO}, does Sanny show the correct line?

yes

x87 commented

ide issues #1 and #3 are fixed in 3.9.0.

#2 is a compiler issue and requires extra research

x87 commented

Extracted second issue into its own ticket, closing this.