Server Smalltalk Guide

Using the Distributed Debugger

The distributed debugger adheres closely to the normal Smalltalk debugger interface. As such, you might look at the IBM Smalltalk User's Guide or the VisualAge User's Guide for more information on how to run debuggers.

In spaces having debugger UI capabilities, the use of the distributed debugger can be enabled or disabled using the following expression:

SstDebugging useDistributedDebugger: true (or false)
Tip icon
This option can also be set using the SST menu choice Use Distributed Debugger.

With the distributed debugger enabled, a reported error process will be shown in the normal debugger UI but the debugger itself will attempt to find and display any remote stack frames. This behavior can present a problem when trying to debug your messaging infrastructure because the debugger will itself attempt to send remote messages. With the option disabled the debugger behaves as a standard Smalltalk debugger.

SST also allows errors to be reported to remote object spaces. The logical process model maintains the notion of a UI Handler. If remote error reporting is enabled and an error occurs, the current UI Handler is asked to report the error to you, typically by opening a debugger. This behavior is controlled using the following expression:

SstDebuggingSupport reportErrorsThroughUIHandler: true (or false)
Tip icon
This option can also be set using the SST menu choice Report Errors via UI Handler.

Although the distributed debugger has behavior nearly identical to the normal Smalltalk debugger, the following differences have been noted:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]