Patent ID: 7730451

Claim:
A computer-readable storage medium having computer-executable instructions stored thereon that, when executed by a processor, implement a method for associating original source code with binary code for debugging the binary code, the method comprising: storing source code files on a server, the source code files including source code and being associated with a version; compiling a source code file into a binary file; while compiling the source code file, extracting information that identifies a location of the source code file, the version associated with the source code file, a name of the server, a port of the server at which the server may be accessed to access the source code, a path to the source code, and a numeric value that indicates a version number of the source code; storing the extracted information in a debug file associated with the binary file, wherein storing the extracted information includes storing the debug file with information forming at least a portion of a data stream, wherein the data stream is divided into the following: a first one or more lines defining a global variables area; a second one or more lines defining a local variables area; and a third one or more lines defining a source files area; after compiling the source code file, receiving an instruction for a debugger to debug the binary file; after receiving the instruction for the debugger, using the extracted information stored in the debug file, locating the source code file and associate it with the binary file; and thereafter debugging the binary file with full source code support by correlating lines of the source code file with binary instructions in the binary file, the source code file including only the source code originally used to compile the binary file.