livecode / livecode-ide

LiveCode cross-platform development environment (IDE)
https://livecode.com/
32 stars 70 forks source link

failsafe for revdebuggerlibrary __ResolveId #2142

Closed mwieder closed 1 year ago

mwieder commented 3 years ago

ResolveId barfs if it finds a relic watchedvariables entry that has a no-longer-existent object reference. This can have disastrous consequences, the least of which would be a non-firing preOpenStack handler. The patch puts ResolveId in revdebuggerlibrary in a try-catch clause so that processing can continue.

Reference: https://forums.livecode.com/viewtopic.php?f=77&t=34574&sid=4d298f59e29b82c43dddc7e894564ec3