This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 2677d39
committed
[[ Bug 13110 ]] Debugger triggers when using 'do'.
The debugger will trigger a breakpoint on the first few lines of a script when a do is executed in the context of the same object.
Essentially, the check for breakpoints gets confused in this case so if you do script has 3 lines, and you have a breakpoint in the first 3 lines of the objects script, you'll get a debug-break action.
This has been fixed by guarding MCB_trace against doing anything if within a handler called 'message' - which is what do uses for this purpose.1 parent 9abc687 commit 2677d39
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
| |||
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
291 | 296 | | |
292 | 297 | | |
293 | 298 | | |
| |||
0 commit comments