IMPLEMENTING A STEP-TYPE OPERATION DURING DEBUGGING OF CODE USING INTERNAL BREAKPOINTS
    1.
    发明申请
    IMPLEMENTING A STEP-TYPE OPERATION DURING DEBUGGING OF CODE USING INTERNAL BREAKPOINTS 有权
    在使用内部断点进行代码调试时执行步进式操作

    公开(公告)号:US20120110553A1

    公开(公告)日:2012-05-03

    申请号:US12915288

    申请日:2010-10-29

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3624

    摘要: Debugging of code of a computer program is facilitated by implementing a step-type operation using internal breakpoints to ensure debugger control of the code. During a debugging session, a step-type operation is implemented by setting active internal breakpoints on every line of code of every routine currently on the call stack referenced by the processor and on entry points of the code being debugged, and subsequently leaving in place, upon completion of the step-type operation, active internal breakpoints. Subsequent to implementing the step-type operation any active internal breakpoints encountered during execution of one or more other operations of the code and deemed unnecessary to completion of the other operation(s) are disabled, and the location of any internal breakpoints disabled during execution of the one or more other operations are tracked in a data structure(s) for subsequent use in reestablishing needed internal breakpoints for implementation of another step-type operation.

    摘要翻译: 通过使用内部断点实现步进式操作来确保调试器对代码的控制,便于调试计算机程序的代码。 在调试会话期间,通过在处理器引用的调用堆栈上的每个例程的每个代码行上以及被调试的代码的入口点上设置活动的内部断点来实现步进式操作, 在完成步进式操作后,主动内部断点。 在执行步骤式操作之后,在执行代码的一个或多个其他操作并被认为不必要完成其他操作时遇到的任何活动内部断点被禁用,并且在执行期间禁用任何内部断点的位置 在数据结构中跟踪一个或多个其他操作,以便随后用于重新建立用于实现另一步骤类型操作的所需内部断点。