User`s guide

Table Of Contents
Remote Debugging 3–1
3
Remote Debugging
The Debug Monitor supports remote debugging for DIGITAL UNIX host systems
with Ladebug. The Ladebug software provides the full source-level debugging
capabilities of most programs that run on the motherboard, including the Debug
Monitor.
This chapter describes some debugging hints for use with the Debug Monitor and the
remote debugger. This chapter also describes the guidelines for writing programs
that allow you to take full advantage of remote debugging.
3.1 What Is a Debugger?
A debugger is a tool that helps you locate run-time programming errors or bugs. You
use the debugger on executable programs created when a program has been compiled
and linked successfully.
3.2 What Is a Remote Debugger?
A remote debugger is a tool that helps you locate run-time programming errors or
bugs in a program running on a remote system. The remote system can be a system
that cannot support a full programming environment by itself. You use a remote
debugger on executable programs compiled and linked for the remote system.
3.3 Remote Debug Server
The Debug Monitor’s remote debug server (the part of the monitor that
communicates with Ladebug) uses interrupts and an Ethernet device. Interrupts are
used by the Debug Monitor to poll the Ethernet device for messages from Ladebug.
Any program that changes the interrupt handler must instruct the debug server when
to poll the Ethernet.