Debugger memory leak

Report problems with documented functionality
User avatar
thqby
Posts: 419
Joined: 16 Apr 2021, 11:18
Contact:

Debugger memory leak

Post by thqby » 08 May 2024, 04:47

Code: Select all

a := {}
p := ObjPtr(a)
a.__delete := (this) => ObjPtr(this) = p && MsgBox()
a := { base: a, prop: 0 }
a := 0	; set breakpoint, view a.prop
Using the debugger to look at the base class, propenum, etc. all have memory leaks.

https://github.com/AutoHotkey/AutoHotkey/blob/fa7a3e1d5f9f6ab77ae5a1f3c53834409e00c075/source/Debugger.cpp#L3123
https://github.com/AutoHotkey/AutoHotkey/blob/fa7a3e1d5f9f6ab77ae5a1f3c53834409e00c075/source/Debugger.cpp#L1224

And in v2.0.14, the debugger does not display the properties of the object.

Return to “Bug Reports”