Patent ID: 7305660

Claim:
A method to generate a formatted trace for a second device embedded in a first device, comprising the steps of: providing source code comprising a trace entry; compiling by said first device said source code to form a second device code image comprising a trace description string and a trace description string address, wherein said trace description string comprises one or more data placeholders, wherein each of said one or more data placeholders are selected from the group consisting of @w, @h, and @b, wherein the data placeholder @w indicates 32 bits of data, and wherein the data placeholder @h indicates 16 bits of data, and wherein the data placeholder @b indicates 8 bits of data; assigning said trace description string address as the traceId; creating a database comprising said trace description string and said trace description string address; uploading said second device code image to said second device; generating trace data using said second device code image; downloading said trace data to said first device; merging said trace data and said database; and forming a formatted trace.