Improvement list
v3.4.2
Fixed problem with "Reload file check"
Changed version check to check against fnoware.se

V3.4.1
fixed bug with <<start debug>> <<stop debug>>
fixed bug with optimizer flag in the debugger

V3.4
Added support to use the optimizer and custom command, setup this in the settings dialog

V3.3
Added possibility to exclude code blocks from beeing debugged with <<stop debug>> <<start debug>>
Added conditional Breakpoint debugging

V3.2.1
Changed medthod when compiling and getting variables to be more Vista compatible

V3.2
Added debugging inside asm code blocks
Added debugging file variable memory
Added multiselect in Add variable listbox

V3.1
Fixed problem with begin asm / end asm

V3.0

More compact debugging code up to 50%
Live addition of variables during debugging
Live modification of string and nummerical variables
Adding more variables nativly from the compiler variable output
Possibility to set animation timer, for finding longtime run errors more quickly

V2.4d
Fixed problem with the debugger didn't start

V2.4c
Fixed some bugs with end object, end type, end function, end sub. And fixed some bugs introduced in 2.4a

V2.4a
Minor fix with create in create blocks

V2.4
* Recompiled the debugger using version 5.2i of Hotbasic so it Hopefully now is Vista Compatible
* Fixed problem with type in source

V2.3
* Fixed parsing problem with Select case that could crash the debugging program
* Fixed startup problems so the debugger started without any source from i.e AIRSYS IDE

V2.2
* Fixed parsing problems when byval is used for variables with sub/functions

V2.1
* Added so the Animate button can be toggled
* Added so that double click on breakpoint, jump in the source to the breakpoint
* Changed background color on debugger windows, so they are easier to find when debugging applications
* fixed problem with Create and type blocks
* fixed problem to find variables .inc files in some cases

V2.0

* Fixed small problems with code parsing
* Separated the debug window into several small resizable ones
* Possibility to show hide each window, and saving the window state in normal and debug mode
* Added breakpoint window
* Added Sub/function and include file jump combo in code window, easier to set breakpoints

V1.2
* Real 10 now works as a debug variable
* Another comment bugg is fixed it comment sign is used with in quotes in a print statement

V1.1
* Create, Type and Object in source code now works correctly when compiling

* Debugged application now changes current dir so application directory changes to where original source is located so external
files needed at runtime can be located, still the debugged application is started from the temp folder in the compiler folder
So if Path$ is used to get the external files, they will not be located. And still needs to be copied to the temp folder.

* fixed problem with quiting debugged application and restarted the debugging

* fixed problem with multiple variable names in variable list, if same name is used when calling sub and functions
Debugging Hotbasic code with the hotbasic debugger.
Features in the debugger

* Step by Step debugging
* Breakpoint debugging
* Conditional Breakpoint debugging
* Live variable values
* Live adding & removing variables
* Live modifying string and nummerical values
* Debugging in include files selectable
* Debugging of GUI and Console Applications
* Individial resizeble windows for each function
* Possibility to save window state in normal and in debug mode

Known limitations

* pause in console applications, freezes the gui debugger window (no crash, go to console window and click any key)
* you can't write compact code then the debugger can't insert debug breaks, example of compact code
       if x=0 then tmp="test" or tmp="test":openfile("test.txt")

How to set and remove breakpoints
Setup the application
Unzip the file in your hotbasic directory

In the Debug menu click on settings and the settings dialog will be shown
Compiler Path
Path to the folder where Compiler executable is

Project Path
Path to base folder to your source files, used for initial directory when opening files

Include Path
Path to your include folder, where  you have your common inc files

When you debug a program include files can be place in the source original folder or the include folder. Resources can be placed in the original folder of the source.
Variables

If the source has 10 or less variables the variables will be automatically added for debug
In other cases variables can be added thru the debug menu -> Add Variables
Or using the variable dialog on the left handside when starting

Select the variable and click on add

You can also write your variable name in the customized variable edit box


Special Thanks to Jim "Dr Electron" and Armando "AIR" for their support and help.
And to all you Hotbasic people that helps making Hotbasic the best supported Basic Compiler in the known Universe.

Hotbasic Debugger 3.4.2 2th of January 2011
Debugger for Hotbasic
Copyright(C) fnoware 2011
Fredrik at fnoware.se

HotBasic(tm) is Copyrighted by James J Keene PhD.
www.hotbasic.org