Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit d0abe81

Browse files
authored
fix(tsp): variables pane shows JSON parse error (#7)
2 parents 1151059 + 7726a01 commit d0abe81

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
1919

2020
### Added
2121

22-
- Add `.debug restart` REPL command to restart the debugging session
22+
- Add `.debug restart` REPL command to restart the debugging session
2323
- Updated to latest version of `tsp-toolkit-kic-lib`
2424

25+
### Fixed
26+
27+
- Fixed issue where the variables pane shows a JSON parse error
28+
2529
## [0.16.0]
2630

2731
### Changed

src/resources/tspdbg.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ function tspdbg:dataToJson(o, currentLevel, endLevel)
460460
s = s .. tostring(o)
461461
elseif type(o) == "function" then
462462
s = s .. '"<FUNCTION>"'
463-
elseif type(o) == "'userdata'" then
463+
elseif type(o) == "userdata" then
464464
s = s .. '"<USERDATA>"'
465465
elseif type(o) == "thread" then
466466
s = s .. '"<THREAD>"'

0 commit comments

Comments
 (0)