IBM Support

Debugger Does Not Display Source in Wide Screen Mode

Troubleshooting


Problem

There are several facilities available in OS/400 that support the creation and management of Windows and other output on the character-based interface.

Resolving The Problem

Debug Wide Screen Support
There are several facilities available in OS/400 that support the creation and management of Windows and other output on the character-based interface. The debugger uses User Interface Manager (UIM) to display the majority of its screens. The LE runtime uses Dynamic Screen Manager (DSM) to manage the flow of data to STDOUT. Without going into too much detail, if the debugger is in wide screen mode and the program being debugged is a program that contains PRINTF, errors occur upon the PRINTF is run. This is because UIM and DSM do not coordinate their processing when used simultaneously in a wide screen session.

The ILE Debugger Product cannot be shipped with this situation. Therefore, the wide screen support must be restricted to prevent UIM and DSM from being used simultaneously in a wide screen environment. To achieve this, the debugger will automatically go into wide screen mode only if it is invoked in an OS/400 job that is servicing another OS/400 job. In this way, the user program and the debugger will run in separate OS/400 jobs, preventing UIM and DSM from confusing each other.
 
Caution: Do the following at your own risk. If problems are encountered, use rmvenvvar ILE_DEBUGGER_1 to remove it.

An environment variable can be set to enable the debug wide screen support. The name of the environment variable is ILE_DEBUGGER_1, and the expected value is: ALLOW_WIDE_SCREEN (for example, addenvvar ILE_DEBUGGER_1 ALLOW_WIDE_SCREEN).

The debug wide screen support is available in the V4R5 and follow-on release(s) of OS/400.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m3p000000F91QAAS","label":"Programming ILE Languages-\u003EDebugger"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

318362951

Document Information

Modified date:
20 November 2024

UID

nas8N1016370