Patent Number: 8,881,115

Title: Compiling source code for debugging with expanded snapshots

Abstract: Debugging source code includes: tracking, by a debugger during a debug session, duration of user examination of source code locations; providing, by the debugger to an optimizing compiler, a source code examination profile specifying source code locations examined by the user during the debug session; and receiving, by the debugger from the optimizing compiler: compiled source code for debugging, the compiled source code comprising, at each of one or more source code locations specified in the source code examination profile: a snapshot before the source code of the source code location, followed by an expanded snapshot, the expanded snapshot including computer program instructions to enable, during a debug session, examination of variable values changing during execution of the source code at the source code location; and a recording of snapshot locations and expanded snapshot locations.

Inventors: Bates; Cary L. (Rochester, MN), King; Justin K. (Rochester, MN), Nee; Lee (Rochester, MN)

Assignee: International Business Machines Corporation

International Classification: G06F 9/45 (20060101)

Expiration Date: 2019-11-04 0:00:00