-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Description
Describe the bug
This may be a part of preview limitation, but it isn't listed explicitly. The Debug Console does not allow multiple expressions.
To Reproduce
- Create a module:
Module Foo
Public Sub Bar
Dim x As String = "hi, there"
Dim y As Long = 123
Stop
End Sub
End Module
- Put the cursor in the procedure and press 5 to run code under the cursor.
- VSC will break at
Stop
- On Debug console, enter:
?x, y
- VSC reports:
(compile error: Sorry, file operations are not yet implemented.)
This can be worked around by doing:
?x : ?y
Expected behavior
Running ?x, y
should return:
"hi, there" 123
Desktop (please complete the following information):
- OS: Windows 10
- twinBASIC compiler version v0.9.1602
Additional context
In previous version, expressions like ?Foo("hi there", 123)
did not work but this seems to be fixed in the 1602 version.