Debuggen

Top  Previous  Next

A Debugger (Watcom\binnt \wdw.exe) also belongs to the project OPEN WATCOM.

Around the Sourcen to debuggen, needs of the Debugger the sym files generated by the compiler in the folder \moskito\main.nt. Also copying the in each case topically generated sym files had to go under Target | Target options | Execute anus are put down.

As the first the new SourcePath should be informed of the Debugger once: wdw.exe begin and under file | source path the path put down.

To begin correctly Moskito with all settings, it makes sense to edit the start-Batch (or a copy of the same) and to put down before the call of Moskito in the last line wdw:

cd.\main.nt

START/b wdw moskito the MAIN

The Debugger passes on all following parametres like the Workfilenamen o.a. in Moskito.

By the start of the Batch start of the Debugger and Moskito.

Has of the Debugger the focus, a click is enough in the window surface and the Debuuger asks whether the use (Moskito) should be interrupted. Then after a confirmation with Yes is able under break | New the name of a function are put down and the Debugger Moskito stops, as soon as this function is called.

 

 

 

image5_3

 

The probably most important windows in the Debugger are Source (available under window | 9. Source) and Locals (available under window | 6. Locals), because the first one indicates the source code and the second one the contents of the variables. Hence, it is advisable to get these both windows forwards and to let register very largely.

 

Program examples