hxcpp-debugger
hxcpp-debugger copied to clipboard
Break point inside thread function does not work
I try to step debug an openfl app targetting cpp on Windows. I set break point inside a thread function. It never stop at that break point. Break poin on main thread works though.
Could you emerge minimal sample for reproducing? I will take a look
Here you go. DemoListBug.zip
You will see I create thread using ENTThread in MainView. It is actaully sys.thread.Thread. The code is from C:\HaxeToolkit\haxe\std\cpp_std\sys\thread from haxe. 4.2.5. I did that since when I coded, I used haxe 4.0.5 and thread has no event loop yet while I needed to us TImer in Thread.
Anyway, I think you can change ENTThread to sys.thread.Thread. It has the same functionality.
Thank you in advance.