Skip to content

Commit 15cd130

Browse files
Merge pull request #13 from mwieder/fix_resolve_crash_in_debugger
_resolveID barfs if it finds a relic watchedvariables entry that has …
2 parents e5a51c7 + 628d088 commit 15cd130

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

IDE Bundle/Contents/Tools/Toolset/libraries/revdebuggerlibrary.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,8 @@ end __ActivateBreakpoints
19481948
# being resolved is in the stack script.
19491949
private function __ResolveId pId, pStack
19501950
local tID
1951+
# [[2023.06.06 MDW fix_resolve_crash_in_debugger]]
1952+
try
19511953
if pId is 0 then
19521954
put the long id of pStack into tID
19531955
else
@@ -1958,6 +1960,8 @@ private function __ResolveId pId, pStack
19581960
put the long id of control id pId of pStack into tID
19591961
end if
19601962
end if
1963+
catch e
1964+
end try
19611965
return tID
19621966
end __ResolveId
19631967

0 commit comments

Comments
 (0)