User Tools

Site Tools


ugbasic:user:debug


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
ugbasic:user:debug [2021/04/26 09:12]
127.0.0.1 external edit
ugbasic:user:debug [2021/05/04 13:56]
spotlessmind1975
Line 1: Line 1:
 ====== ugBASIC User Manual ====== ====== ugBASIC User Manual ======
  
-===== DEBUG ===== +===== DEBUGGING =====
- +
-===== SYNTAX ===== +
-  * ''DEBUG [expression]'' +
- +
-==== PURPOSE ==== +
- +
- +
-Outputs a string with the value contained in the indicated expression. +
-The variable must be up to 2 bytes longs. For speed of implementation +
-it uses the function of the KERNAL, so it cannot work if the ROM is disabled. +
- +
- +
- +
-==== EXAMPLE ==== +
-   DEBUG someValue +
- +
-==== AVAILABLE ON ==== +
-  * Commodore 64 +
- +
-==== SEE ALSO ====+
  
 +This small guide is intended to illustrate, step by step, how to debug an application written with ugBASIC and compiled for the various targets.
  
 +   * [[ugbasic:user:debug:c64|Debugging on Commodore 64]]
 +   * [[ugbasic:user:debug:zx|Debugging on ZX Spectrum]]