发明名称 Debugger with method restart capability
摘要 Methods and apparatus for debuggers supporting method restart are described. A method comprises implementing a user interface (UI) enabling a user to submit a request, via a single interaction within a debugging session, to restart execution of an invocable operation of a program. The method further comprises, in response to a request to restart an invocable operation, designating, as the source code line whose corresponding executable code is to be executed next, the first line of source code of the particular invocable operation that corresponds to an executable operation. The method includes indicating that execution of the program is to be resumed at the first line, and resuming execution of the program at the first line.
申请公布号 US9122798(B2) 申请公布日期 2015.09.01
申请号 US201313788701 申请日期 2013.03.07
申请人 Oracle International Corporation 发明人 Yawn Michael I.;Cochrane Neil James;Bronkhorst Campegius L.
分类号 G06F9/44;G06F11/36;G06F11/34;G06F11/32 主分类号 G06F9/44
代理机构 Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C. 代理人 Kowert Robert C.;Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
主权项 1. A computer implemented method, comprising: implementing one or more user interfaces (UIs) enabling a user to submit a request, via a single UI interaction within a debugging session of a program, to restart execution of an invocable operation included in source code of the program; and in response to a particular request to restart execution of a particular invocable operation of the source code, received via a single UI interaction according to a particular user interface of the one or more interfaces, wherein at least one instruction of the particular invocable operation has been executed previously during the debugging session: designating, as a next source code line to be executed for debugging purposes during the debugging session, the first line of source code of the particular invocable operation that corresponds to an executable operation, wherein said designating comprises sending one or more debugging requests to a virtual machine at which the program is being executed,wherein the one or more debugging requests comprise a first debugging request and a second debugging request, wherein the first debugging request comprises a request to pop the execution stack of the program to a calling invocable operation from which the particular invocable operation is called, and wherein the second debugging request comprises a request to step into the particular invocable operation;indicating, to a submitter of the particular request, that execution of the program being debugged is to be resumed at the first line; andresuming execution of the program being debugged, in a debug mode, at the designated first line, such that the next line executed in the debugging session in response to the particular request is the designated first line of the particular invocable operation.
地址 Redwood City CA US