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 completely breaks lvalue subs/xs functions #9821
Comments
From perlbug@plan9.deCreated by perlbug@plan9.deI found that JSON::XS version 2.24 works differently under the debugger It turns out that this xs function failed to work: SV *incr_text (JSON *self) specifically, this perl statement had no effect: $self->incr_text = ""; This only happened when running under the debugger (perl -d). This works aorund the issue: CvNODEBUG_on (get_cv ("JSON::XS::incr_text", 0)); /* otherwise calling scope can be the debugger */ (shameless feature request: it would be nice if one could set lvalue and Apparently the debugger breaks lvalue subs. In fact, the effect is $x = 5; This prints 5 under the debugger, and 7 without it. Perl Info
|
From p5p@perl.wizbit.be
This should already be fixed in blead with commit: http://perl5.git.perl.org/perl.git/commit/1ad62f649328dc563f7f21be3c384f5adf18af1d [perl #48489] patch to fix perl bug #7013author bharanee rathna <unknown> [perl #48489] patch to fix perl bug #7013 Just the pp_hot.c portion of this patch applied along with removing p4raw-id: //depot/perl@34833 The RT ticket: Best regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68328 (status was 'resolved')
Searchable as RT68328$
The text was updated successfully, but these errors were encountered: