首页>
外国专利>
Debugging native code by transitioning from execution in native mode to execution in interpreted mode
Debugging native code by transitioning from execution in native mode to execution in interpreted mode
展开▼
机译:通过从本机模式下的执行过渡到解释模式下的执行来调试本机代码
展开▼
页面导航
摘要
著录项
相似文献
摘要
A dual-mode debugger can debug native code or interpreted code. Transitioning between modes can be triggered by defined bailout conditions. A program can be debugged by attaching a debugger and compiling the program into native code under the debugger. At defined points in the program, debugging can transition from native mode to interpreted mode. Debugging the native code can stop, current state can be captured, and an interpreter can be instantiated. An interpreter stack can be created and can be populated with the captured current state. Debugging operations which involve execution control: pausing execution, continuing execution, stepping into, out of or over a section of code and so on, can occur in interpreted mode, which is typically easier to implement. Debugging operations which involve inspection and modification of variables can occur in native mode.
展开▼