Patent ID: 7516445
Filing Date: 2009-04-07
Classification: G06F

Abstract:
1. A method for retrieving source code during a software debugging session, the debugging session using compiled code capable of running in different runtime environments, the method comprising: detecting a stopping point related to a compiled program executing in a target runtime host environment, the stopping point detected in a development system comprising local debugger software, the local debugger software communicating with remote debugger software accessing the host environment, the host environment storing a copy of original source code files together with location information corresponding to the original source code files, the compiled program, and a debugging support file, the debugging support file comprising information which maps parts of the compiled program to source code lines, wherein the source code files are characterized by corresponding original source code file locations and corresponding source file checksums, wherein the compiled program and the debugging support file are compatible with multiple runtime host environments; selecting to view a portion of source code of the compiled program corresponding to the detected stopping point, the source code portion absent from the development system; requesting a location for the source code portion of the compiled program, the request generated by the local debugger software and sent to the remote debugger software, wherein the source code is located remotely from the remote debugging software, and wherein the remote debugging software accesses the debugging support file and acquires the source code portion file location and corresponding source file checksum stored in the runtime host environment; receiving, by the local debugging software, a host-specific resource locator for the source code portion, wherein the host-specific resource locator comprises a unique resource locator including a host type prefix and an original path; searching for a matching file of the source code portion using the host-specific resource locator; and displaying the source code portion.