Open nulld opened 6 years ago
This is where it's crashing (even with HXCPP_CHECK_POINTER
explicitly defined):
This is an issue for debugging, since it can lead to the entire application crashing when printing properties in the variables view (https://github.com/vshaxe/hxcpp-debugger/issues/8).
Here's a screenshot of the error I receive in a barebones project based on the source code in the OP. Here's the source for that (I edited it to remove reflection in case that was part of the issue): https://github.com/EliteMasterEric/hxcpp-Issue7253
And here's a screenshot of the error I receive in another project (closed source at the moment). It appears in the same circumstances so I strongly suspect it is strongly related, but it may have a slightly different root cause due to the very different call stack
Expected that in debug mode it must check all pointers it haxe generated code. Is it so?
For eg this code is crashes unexpectedly: