User Tools

Site Tools


ugbasic:user:debug


Differences

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

Link to this comparison view

Next revision
Previous revision
ugbasic:user:debug [2021/04/26 09:12]
127.0.0.1 external edit
ugbasic:user:debug [2021/07/16 09:31]
spotlessmind1975
Line 1: Line 1:
 +{{htmlmetatags>metatag-robots=()
 +metatag-title=(How to debug compiled programs | ugBASIC User Manual)
 +metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
 +metatag-description=(Instructions on how to debug compiler programs)
 +metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
 +metatag-og:title=(How to debug compiled programs | ugBASIC User Manual) 
 +metatag-og:description=(Instructions on how to debug compiler programs)
 +}}
 +
 ====== 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]]