defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Debugger crashes when using gui nodes as keys in tables #2316

Closed britzl closed 5 years ago

britzl commented 5 years ago

Expected behaviour

I should be able to set breakpoints and step through any Lua code without problems

Actual behaviour

I'm not able to step through the Lua code since the debugger crashes

Steps to reproduce

Set a breakpoint in the init() function of the attached gui_script. Step through the code Notice that the debugger crashes on the line where the second gui node is set as a key in the table (nodes[box2] = {})

See attached project: guidebugcrash.zip


Build time2018-11-14T10:25:11.486561
Defold channeleditor-alpha
Defold editor shadfbd3470660278721c7a0eea27f9e57d53590564
Defold engine sha738e2ebc3cba56027fa00ca27706019bb772871c
Defold version1.2.141
GPUNVIDIA GeForce GT 750M OpenGL Engine
GPU Driver2.1 NVIDIA-10.32.0 355.11.10.10.40.102
Java version1.8.0_102-b14
OS archx86_64
OS nameMac OS X
OS version10.13.6
erikangelin-king commented 5 years ago

Fixed!