v3.0.0 Beta #1
Pre-release
Pre-release
- Dropped support for .NET < 4.5 and consequently old Unity builds (< 2019).
- Newly added
json.emptyarray()which is a special (userdata) token which will be encoded in JSON as[].- This is in contrast to an empty Lua table which is encoded in JSON as
{}.
- This is in contrast to an empty Lua table which is encoded in JSON as
- Newly added
json.isemptyarray(obj)which will return true ifobjis our JSON empty array token. json.parsenow optionally takes a second parameter i.e. signature isjson.parse(str, empty_array_tokens = false).- When
empty_array_tokensis true, all[]are decoded asjson.emptyarray()as opposed to an empty Lua table. - Handling empty array tokens does take some care, so the default behavior of
json.parse(str)is unchanged.
- When
- Added debugger support for closure vars, globals and REPL at various stack frames.
- Added support for conditional breakpoints.
- Added support for delayed stack trace loading.
- Multiple
Scriptare now represented as threads when debugging, so you can properly debug multiple scripts simultaneously. - Fixed issues with Unity's ToString() throwing an exception that broke the debugger's ability to fetch variables.
- Fixed support for expression evaluation when debugging a coroutine.
- Fixed issue with MoonSharp breaking at the same breakpoint after continuing, but not informing VSCode that execution has paused.