Browse Prior Art Database

Format-insensitive debugging using symbol numbers instead of line numbers

IP.com Disclosure Number: IPCOM000021568D
Original Publication Date: 2004-Jan-23
Included in the Prior Art Database: 2004-Jan-23

Publishing Venue

IBM

Abstract

Languages like Java* can be compiled such that line number information is held within compiled code. This information can be used when diagnosing a problem in the program code as it relates instructions in the compiled code back to the exact line of source which generated the instructions. If the source code file is re-formatted, but not recompiled, then the relationship between source code and line number information in the compiled code is lost. Instead of using line-numbers, the system could use token-numbers instead, thereby allowing the re-formatting of source code files freely, without destroying the relationship between the source code and compiled code.