in reply to Re^3: How perl debugger breakpoint works?
in thread How perl debugger breakpoint works?
Every debugger needs to call ptrace
Hardly.
- For a start, ptrace is a linux api.
Do you think other operating systems don't have debuggers?
- Secondly, ptrace (or an equivalent) is only required if your are tracing at assembler level.
Perl's debugger operates at the perl opcode level, each of which may represent many hundreds or thousands of assembler instructions.
ptrace is not used by perl's debugger.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How perl debugger breakpoint works?
by PerlOnTheWay (Monk) on Sep 06, 2011 at 01:48 UTC | |
by BrowserUk (Patriarch) on Sep 06, 2011 at 02:02 UTC |
In Section
Seekers of Perl Wisdom