Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break point inside thread function does not work #30

Open
hypergeome opened this issue Jun 6, 2022 · 2 comments
Open

Break point inside thread function does not work #30

hypergeome opened this issue Jun 6, 2022 · 2 comments
Assignees

Comments

@hypergeome
Copy link

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.

@nulld
Copy link
Member

nulld commented Jun 6, 2022

Could you emerge minimal sample for reproducing? I will take a look

@hypergeome
Copy link
Author

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.

@nulld nulld self-assigned this Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants