Skip to content

Comments

Support breakpoints in cppia scripts#42

Open
tobil4sk wants to merge 4 commits intovshaxe:masterfrom
tobil4sk:cppia
Open

Support breakpoints in cppia scripts#42
tobil4sk wants to merge 4 commits intovshaxe:masterfrom
tobil4sk:cppia

Conversation

@tobil4sk
Copy link
Contributor

In cppia, script source files are not known initially so breakpoints will fail to be set properly.

With this patch, the debug server now assigns its own breakpoint id for failed breakpoints and attempts to readd them whenever a new cppia script is loaded.

This depends on the following patches to haxe and hxcpp:

In cppia, script files are not known initially so breakpoints will fail
to be set properly.

With this patch, the debug server now assigns its own breakpoint id for
failed breakpoints and attempts to readd them whenever a new cppia
script is loaded.
Haxe 5 now generates absolute debug paths by default for cppia. If haxe
5 is not being used, a warning will already be shown earlier on anyway.
@Jarrio
Copy link
Contributor

Jarrio commented Oct 6, 2025

Everything has been merged now, can this be merged? 👀

@dimensionscape
Copy link

Bump. How goes this?

@tobil4sk
Copy link
Contributor Author

This should be ready to merge since all the other PRs are merged. Note, it doesn't get debugging working fully (no local variable view etc), but at least the breakpoints are no longer ignored completely.

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

Successfully merging this pull request may close these issues.

3 participants