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 摘要。