Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger not compliant with the wiki informations and not stopping #7

Open
MangelMaxime opened this issue Dec 22, 2015 · 1 comment

Comments

@MangelMaxime
Copy link

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 ?

@MangelMaxime MangelMaxime changed the title Debugger not compliant with the wiki informations Debugger not compliant with the wiki informations and not stopping Dec 22, 2015
@bobrokrol
Copy link

same problem

`C:/HaxeToolkit/haxe/haxelib.exe run lime run "D:/_work/_elance/2016/Amir Ash/game/project.xml" windows -verbose -Ddebug -debug -args -start_debugger -debugger_host=localhost:6972


/_ \ __
//\ \ /\ ___ ___ __
\ \ \ /\ \ /' __\ /'`\
\ \ \ /\ /\ /\ /\ /
/__
\ \ \ \ \ **
/
**
/ /
//
//
//
//
___/

Lime Command-Line Tools (2.9.1)

Initializing project...
Using project file: D:/_work/_elance/2016/Amir Ash/game/project.xml
Reading HXCPP config: C:\Users\bobrokrol.hxcpp_config.xml
Using target platform: WINDOWS

Running command: RUN

  • Changing directory: bin/windows/cpp/bin/
  • Running command: OpenFL.exe -start_debugger -debugger_host=localhost:6972 -verbose -livereload

-=- 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> `

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

No branches or pull requests

2 participants