You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Break point inside thread function does not work #30
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.
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.
Activity
nulld commentedon Jun 6, 2022
Could you emerge minimal sample for reproducing? I will take a look
hypergeome commentedon Jun 6, 2022
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.