The Debugger
Beta version

Table of Contents Description

vdeb is a source-level debugger.


Instructions

The instruction on usage of the debugger for Cybiko computer.
  1. Connect Cybiko computer to serial port COM1.

  2. Upload ComPort.dl from $(Cybiko_SDK)/lib/cybiko to Cybiko Computer with the aid of Cybiko Console.

  3. Start the debugger.

  4. Click "Connect" item in the "File" menu in order to connect Cybiko Computer with PC.

  5. Click "Open" item on the "File" menu to open the file that contains the debug information for that application which debugging is supposed to be carried out. The name of this file which has ".deb" extension is usually coincides with an application name.

  6. Start of the debugged application on Cybiko Computer and to wait appearances of the '^' character on a console. Appearance of this character means availability of Cybiko Computer for debugging.

  7. Click "Source" item in the "View" menu to open source files of the debugged application. Place points of interruptions in necessary places by double mouse clicking. The line of characters "---> " will appear in a case of right placed interruptions.

  8. If necessary by means of the menu item " View -> Locals " to open the window in which local characters will be displayed.

  9. Click "Step" item on the "Debug" menu to start the application on Cybiko Computer after realization of all operations described above. The difference between these two commands is that the "Run" command carries out execution to the following breakpoint, or before completion of the program if the breakpoint will not meet. The "Step" command carries out execution only ONE LINE of the INITIAL CODE of the program. The appropriate file will be displayed at a break point.

  10. The further operations are defined by the user.