×

Stepping out of an asynchronous method into its continuation in a debugger

  • US 8,893,090 B2
  • Filed: 04/15/2011
  • Issued: 11/18/2014
  • Est. Priority Date: 04/15/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • identifying a plurality of endpoints in a callee of a computer program, each of the endpoints being a point where execution of the callee ends, identifying the plurality of endpoints comprising generating identifiers for the plurality of endpoints;

    as part of executing the computer program, at a caller, making an asynchronous function call from the caller to the callee;

    recognizing that one of the identified endpoints has been reached in the program execution after making the asynchronous function call, the recognizing that the one of the identified endpoints has been reached being based at least in part on at least one of the generated identifiers for the plurality of endpoints;

    in response to recognizing that one of the identified endpoints has been reached in the program execution after the making of the asynchronous function call, performing the following;

    setting at least one of one or more debugging indicators, the at least one of the one or more debugging indicators being correlated to the callee to indicate that execution of the callee has reached at least one of the endpoints; and

    continuing the computer program execution;

    in response to the computer program execution reaching a continuation of the callee that is waiting for completion of the callee with respect to the asynchronous function call, determining that at least one of the one or more debugging indicators is set to indicate that execution of the callee has reached at least one of the endpoints; and

    stopping the program execution and stepping out of the program execution at entry into the continuation of the callee, the stopping of the program execution and the stepping out being performed in response to one or more determinations comprising the determination that at least one of the one or more debugging indicators is set to indicate that execution of the callee has reached at least one of the endpoints.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×