Skip to content

Break point inside thread function does not work #30

Open

Description

@hypergeome

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.

Activity

  1. nulld commented on Jun 6, 2022

    @nulld
    Member

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

  2. hypergeome commented on Jun 6, 2022

    @hypergeome
    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.

  3. self-assigned this
    on Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions