pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 519 forks source link

Live coding in Love2D broken #1164

Closed simonbroggi closed 1 year ago

simonbroggi commented 1 year ago

When running a Love2D programm as Scratchpad, I get an error as soon as I change a value in the code. Error message:

Scratchpad error on line 1:

pkulchenko commented 1 year ago

Do you have an example of the code you're trying to execute? Does a simple script (for example, one from the tutorial) work for you?

simonbroggi commented 1 year ago

I tried with the simple script from the tutorial.

\ZeroBraneStudio\myprograms\LOVE-samples\trajectory\main.lua

Does this work for you? Maybe there's something wrong with my installation? Thanks for the feedback.

pkulchenko commented 1 year ago

I can confirm the issue; it appears to be caused by an upgrade to Mobdebug 0.801 (0a695ee4), but I'm not yet sure of the best fix. Will update shortly.

The strange thing is that other live coding examples work, but the LOVE ones do not.

pkulchenko commented 1 year ago

@simonbroggi, give the master branch a try; should be fixed now.

simonbroggi commented 1 year ago

I'll do that some time this week. Thank you!!

simonbroggi commented 1 year ago

it definitely works! https://mastodon.gamedev.place/@smonbrogg/111142617000553203 :-)

pkulchenko commented 1 year ago

Cool; that's great to gear! I released v2.01 with these changes. Thank you for confirming.