next up previous
Next: Implementation Details Up: Use of UC++2 Previous: The library

Debugging UC++ programs

If a UC++ object is created with an additional parameter DEBUGGER, the object will be started inside an instance of gdb. This requires that the DISPLAY environment variable is set correctly on the host from which the UC++ program is started, to the name of the display that the debugger windows will be opened on. In addition PVM_EXPORT must be set to DISPLAY, for example with the C shell:

setenv DISPLAY

Access control on the X display will also have to be disabled, or least all the hosts on the PVM task will have to be on the access list.

If the initial (main) task is to debugged, it should be started directly under the debugger, with PVM already running.

send comments or suggestions to

Click here for more information on UCL-CS.