Skip to content

Breakpoints not getting hit #13

@tbrosman

Description

@tbrosman

(Note: this might just be an issue with my setup.)

vshaxe-hxcpp-debugger version: 1.1.0

I have attempted to use the hxcpp-debugger extension with both Haxe 3.4.7 and Haxe 4.0.0-preview.5. In both cases, I have been able to run my compiled binary via Debug -> Start Debugging, but my breakpoints don't get hit.

My hxml file looks like this:

-cp src
-lib hxcpp

# VSCode debugger
-lib hxcpp-debug-server

-main pong.Main
-debug
-cpp bin/cpp

I wasn't sure if it was necessary to include hxcpp as well. The configurations in my launch.json contains one entry:

{
    "name": "Hxcpp",
    "type": "hxcpp",
    "request": "launch",
    "program": "${workspaceRoot}/bin/cpp/Main-debug.exe"
}

I'm using Visual Studio 2015 Community Edition.

Any idea what I might be missing?

A related question: what's the best way to see the trace output of the debug server? (E.g. the one listening on port 6972) I'm not sure which process is hosting it.

Metadata

Metadata

Assignees

No one assigned

    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