More straightforward usage
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- devtools
Research direction
Start with the haxelib setup and the entry-point usage described in the issue. Compare the proposed extraParams or haxelib define approach with macro injection and static variable initialization, while identifying how the remote-debugging host remains configurable. Done means including hxcpp-debugger no longer requires the separate define or explicit entry-point initialization, without removing host configuration.
Written by the indexing model from the issue text.
Description
Currently these 3 steps are required to use hxcpp-debugger:
- add
-lib hxcpp-debugger - add
-D HXCPP_DEBUGGER - add
new debugger.HaxeRemote(true, "localhost");to the entry point
It would be nice if this could be reduced to just the first step.
Eliminating step 2 should be simple, either via an extraParams file that automatically defines HXCPP_DEBUGGER if the lib is included, or just by using the define that is added for the haxelib instead. I can't really think of a situtation where you would want to include the lib, but not define HXCPP_DEBUGGER?
The code needed could be injected via a macro somehow. @RealyUniqueName pointed out that alternatively, static var initialization could be abused for this.
There would still need to be a way to manually set the host IP somehow for remote debugging of course.
(discussed in haxe-dev, cc @Simn / @nadako)
- Dominant language
- Haxe
- Stars
- 49
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/hxcpp-debugger
-
Threads handlingOpen
Difficulty 4/5 3-5 days Newbie friendliness 28/100
HaxeFoundation/hxcpp-debugger#19 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/hxcpp-debugger#7 · 1 comment ·
All issues in HaxeFoundation/hxcpp-debugger
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hubverse-org/hubDevs#83 ·
-
garden
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
taecontrol/google-accounts-mcp#92 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day