Browse Prior Art Database

Method to display international data in readable form when in a graphical debugger.

IP.com Disclosure Number: IPCOM000187535D
Original Publication Date: 2009-Sep-10
Included in the Prior Art Database: 2009-Sep-10
Document File: 2 page(s) / 9K

Publishing Venue

IBM

Abstract

Graphical debuggers allows users to debug active computer programs. They typically give the person who is debugging control over the flow of the process and, importantly, they give him the ability to look at program data as it flows through the processing flow. There are many common data encodings used by computer programs (ASCII, EBCDIC, UTF-16LE, etc). Although it is common for modern computer programs (particularly internationalized ones) to process data which may be encoded in various data encodings, the data being returned to the debugger is not always readable to the user.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 57% of the total text.

Page 1 of 2

Method to display international data in readable form when in a graphical debugger.

When receiving the debug callbacks from a computer program, it is assumed that it is known what encoding the current data is held in. The basic concept is that, if a graphical debugger is hosted in a sufficiently Unicode enabled application (Eclipse is a UTF8 application for example), the application could convert from the known code page to the displayable encoding.

A computer program, whilst debugging is enabled, may receive callbacks at the end of every function or object that shows the result of the operation. In traditional graphical debuggers the data is displayed as held. If the computer program is processing EBCDIC data, the graphical debugger assumes the raw bytes are its own native characters (e.g. UTF8 characters in Eclipse).

This traditional mechanism is valuable since it enables the person who is debugging to see the actual raw data that the computer program is processing. However, if the person who is doing the debugging is interested in being able to read the data there may be problems.

For example:

One may wish to turn the string "Hello" into "Hello World" by performing a concatenation operation. Assuming such a computer program exists and we wish to debug it, we may have a

problem when the data is encoded in EBCDIC.

We'd need to turn

È…""-

Into

È…""-@æ-™""

If a coding error generated "Hello Good-bye" instead, then...