Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Debugger not compliant with the wiki informations and not stopping

未关闭
#7 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp
领域
devtools

调研方向

使用 build.hxml、hxcpp-debugger 1.0.6、hxcpp 3.2.193 以及所示的调试器命令,复现提供的 Main.hx 示例。从 debugger/Local.hx:46 开始,将观察到的启动停止、Main.test 处的断点和继续行为与 wiki 进行比较;当调试器按文档所述停止并报告位置时即表示完成。

由索引模型根据 Issue 内容生成。

描述

Hello guys,
I am trying to used hxcpp-debugger for my project but I don't get the same result as describe in the wiki.

class Main {
    static public function main() {
        new debugger.Local(true);
        trace(test(null));
    }

    static function test(a:String) {
        return a.charAt(0);
    }
}

Here are the commands used :

± |master U:2 ?:1 ✗| → cpp/Main-debug 

-=- hxcpp built-in debugger in command line mode -=-
-=-      Use 'help' for help if you need it.     -=-
-=-                  Have fun!                   -=-
Thread 0 stopped in debugger.Local.new() at debugger/Local.hx:46.

1> break Main.test

Breakpoint 1 set and enabled.

2> continue


3> Main.hx:10: 

As you can see, event the line : Thread 0 stopped in debugger.Local.new() at debugger/Local.hx:46. is not saying 1> Thread 0 stopped in 0.Main() at main:0.

Here are my haxelib, build.hxml and system information :

± |master U:2 ?:1 ✗| → haxelib list
hxcpp-debugger: [1.0.6]
hxcpp: [3.2.193]
hxcs: [3.2.0]
hxjava: [3.2.0]
mithril: [0.25.7]

Build.hxml :

-cp src
-main Main
-debug
-cpp cpp
-D HXCPP_DEBUGGER
-lib hxcpp-debugger

image

Can you help please ?

主要语言
Haxe
星标
49
派生
16
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

HaxeFoundation/hxcpp-debugger 的其他 Issue

查看 HaxeFoundation/hxcpp-debugger 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。