[futurebasic] Re: [FB] FutureBasic 3 debugger question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: David Cottrell <David.Cottrell@...>
Date: Wed, 15 Sep 1999 11:57:22 +1000
>I just got my copy of FB3 yesterday. I am trying to convert my first project.
>When I run the project it crashes. So I turned on the debugger and it very
>quickly found the line where the program crashed. The problem I am having is
>that the debuger does not seem to display the values of the programs
>variables, so I can not easly tell why the program is crashing on that line.
>
>How do I find out the values of variables when debugging with FB3?

There is no variable window in release 0. Someone on the beta list
suggested writing a little function which writes values to a file, If you
call the function reight befor the crashing line you can print out the
values you are interested in.

The bigest hint I can offer is watch out for register variables, you can
get problems if you program expects a variable to be in memory rather than
registers. 90% of my errors have been of this type.

HTH

David