Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: inspecting Perl call stack from inside a XS subroutine?

by dcmertens (Scribe)
on Aug 24, 2016 at 14:39 UTC ( [id://1170324]=note: print w/replies, xml ) Need Help??


in reply to inspecting Perl call stack from inside a XS subroutine?

A quick search through perlapi led me to caller_cx. I am really not sure how to "interrogate a Perl context" structure, but perlguts seems to have some useful information in this regard. Since you're probably more familiar with the Perl-level caller function, it might just be easier to call that directly. See perlcall for help there.
  • Comment on Re: inspecting Perl call stack from inside a XS subroutine?

Replies are listed 'Best First'.
Re^2: inspecting Perl call stack from inside a XS subroutine?
by bubnikv (Novice) on Sep 27, 2016 at 14:56 UTC
    Thanks, I could probably call a perl function from the Visual Studio debugger, this seems to be the easiest to do.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1170324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found