HaxeFoundation / HaxeFoundation/hxcpp-debugger

Debugger not compliant with the wiki informations and not stopping

未关闭
#7 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Haxe
星标
49
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

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.

``` haxe
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 :

``` bash
± |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 :

``` bash
± |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 :

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

![image](https://cloud.githubusercontent.com/assets/4760796/11966175/6493f1cc-a8fa-11e5-8974-726dfb66f1f6.png)

Can you help please ?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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