My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 233: Hxcpp debugger + Haxe 3
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by lucadelt...@googlemail.com, Apr 12, 2013
Hxcpp debugger is not working in Haxe3, haxe.Stack renamed haxe.CallStack and no CallStackItem errors etc.

On the other hand, it'd be really nice to be able to get a haxe exception to be traceable in gdb instead of the program just exiting normally.
Jun 15, 2013
#1 o...@tanoshiistudio.com
Hi, when I tried to rename any haxe.Stack to haxe.CallStack I experienced this error.

E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:233: characters 20-27
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:234: characters 20-27
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:235: characters 20-26
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:236: characters 20-26
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:237: characters 20-23
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:238: characters 20-25
: This pattern is unused
E:\HaxeFoundation\haxe\lib\hxcpp/3,0,2/hxcpp/DebugBase.hx:239: characters 20-26
: This pattern is unused
Jun 29, 2013
#2 doug.lau...@gmail.com
The remaining error is due to the new switch keyword semantics in Haxe 3.  Change the switch to a series of IF/ELSE IF statements and it will work.  I've attached my "ported" versions of these files which allow me to debug with hxcpp 3.0.2, Haxe 3, OpenFL 1.0.4, NME 4.0.2.  BTW, I'm debugging with IntelliJ and it works ok.
DebugBase.hx
18.9 KB   View   Download
DebugSocket.hx
2.7 KB   View   Download
DebugStdio.hx
3.1 KB   View   Download
DebugTool.hx
3.1 KB   View   Download
Sep 16, 2013
#3 zaynya...@gmail.com
Will you push it to the repo?
Sep 28, 2013
#4 SamBatis...@gmail.com
Please make an update for this. Mostly everyone should be using Haxe 3 now. Thanks!
Sep 30, 2013
Project Member #5 gameh...@gmail.com
Hi,
Sorry I have not got back to you.  The whole debugger code has been significantly overhauled in 3.0 release to include such things as multi-thread debugging and better stepping.  You can see some action on this thread:
https://groups.google.com/forum/#!topic/haxedev/i-DDPnJfdGM
The principles are still the same, but the debugger has been "externalized" to allow updates (such as yours) to happen independently of the hxcpp release.  Again, sorry this has not been coordinate with you better.


Powered by Google Project Hosting