-
Notifications
You must be signed in to change notification settings - Fork 17
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 do not stops on breakpoints. #17
Comments
I confirm that this doesn't work, even in hello world: class Main {
@:analyzer(ignore)
static function main() {
new debugger.Local(true);
var a = 1;
a = 2;
}
}
The generated .cpp looks fine to me:
|
@hughsando: If at all possible, could you check if this is a problem with Haxe or hxcpp(-debugger)? It's not so urgent if it's the latter, but if it's related to Haxe we should really try to get it fixed for 3.4.1. |
There was a problem with HXCPP_DEBUG_HASHES was not set. Should be fixed now. |
My vscode-hxcpp-debug adapter seems to have breakpoints working again in hxcpp 3.4.64! Thanks @hughsando! I'm still having issues with the "Step Over" / (aka Next command) functionality, but that could easily be on my end. |
Hmm, no, if my understanding of the For example, with this local debugger testcase:
Here's what happens, next appears to be acting like continue:
I would expect it to print "At line 5" and then stop at line 6. Is this correct? I could file a new bug if you'd like, though it seems highly related to this one. Best, |
The step-over issue should be fixed with HaxeFoundation/hxcpp@4a2fbdb There is still a minor issue where you sometimes have to step twice at the beginning of a function to get going, but this will require a slightly larger fix that I might wait a bit for. |
@hughsando - yes, I can confirm that 4a2fbdb / 3.4.69 fixed the step issue. And a debugger testcase too boot, nicely done! |
Feel free to extend the test if you like :)
…On Mon, Mar 20, 2017 at 10:46 PM, Jeff Ward ***@***.***> wrote:
@hughsando <https://github.com/hughsando> - yes, I can confirm that
4a2fbdb / 3.4.69 fixed the step issue. And a debugger testcase too boot,
nicely done!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlp1uJWWkzrU5S1nQXmQ7A5TDFYJF4_ks5rnpE-gaJpZM4MTIEt>
.
|
@hughsando, thanks for fix. |
My test file:
Test.hx
build.hxml
debugger cli output
After
c
command, program executes until the end (see the trace from Test.hx:22)The text was updated successfully, but these errors were encountered: