Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? AmigaOne
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

KDEBUG AmigaDOS
Purpose: To set kernel debug parameters.
Format: KDEBUG [CONSOLE <name>] [DEBUGLEVEL <n>]
Template: CONSOLE/K, DEBUGLEVEL/K
Path: C:KDEBUG
KDEBUG is a simple interface to set kernel parameters from the command line.

The command is sent to the kernel verbatim for further processing, and the actual interpretation is left to the kernel itself.

As of kernel 50.3, the following commands are supported:
CONSOLE <name> Select the console. Currently, this is either serial (default, 115200, 8/n/1), or memory. To view the memory buffer, use DumpDebugBuffer. Note: the memory console has no input.
DEBUGLEVEL x Set the verbosity of debug output of the kernel. 0 means no output, 5 is low (only warnings and critical errors), 10 is verbose (more information), and 20 means it will log every function entry and exit in the kernel.

Example 1:

3.OS4:> KDEBUG SERIAL
sets the debug console to the serial port.

Example 2:

3.OS4:> KDEBUG DEBUGLEVEL=10
sets the debug verbosity to 'verbose'.


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.