As a Roblox developer, it is currently impossible to change original variable values while debugging a script.
If I am debugging a script and I create a breakpoint in one line, when the script stops at this breakpoint, I’d like to MANUALLY change the value of an internal variable, for testing purposes.
Example:
local a = 1
print(a) --< breakpoint here
In the above case, I set a breakpoint at line 2; when the script stops at line 2, the value of a
will be 1.
So at this point, I want to change the value of a
to 999 manually.
That done, when I resume, the value of print(a)
would now be 999
and no longer 1
.
If Roblox is able to address this issue, it would improve my development experience because I could manually change a pre-existing script variable value , starting from the breakpoint, AND BE ABLE TO CONTINUE from that breakpoint, without interrupting the script flow.