Forum
Help with Book - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16)
+---- Thread: Help with Book (/showthread.php?tid=2571)



Help with Book - StevesGaming - 11-16-2024

Hello, I just registered!

I bought the Boriel Basic book and I'm just on page 52 where it tells you about debugging and adding breakpoints.  but when I add a breakpoint and press F6 I get errors!

"Exception: could not find file C:\zxbasic\helloworld\helloworld.buildtemp.ic"

How do I fix this?   (note: running the code normally with F5 and it works fine)

Thanks


RE: Help with Book - boriel - 11-17-2024

Please, download v0.4 from here:
https://github.com/boriel-basic/ZXBasicStudio/releases

and let me know if it works :-)


RE: Help with Book - StevesGaming - 11-18-2024

I downloaded that, thank you. but it's still not working.

When I select 'build and debug' it says

Building precompilation documents...
Building map files...
Building program map...
Building variable map...

but nothing else happens and it doesn't show the code running at all. What am I doing wrong?
(if I press F5, it runs perfectly)


RE: Help with Book - Duefectu - 11-18-2024

Hello, Steve,

Let's take it one step at a time. The first thing is to see what versions of ZX Basic Studio and compiler you are using:

ZX Basic Studio
In ZX Basic Studio go to Help -> About and tell me what version you have, should be 1.4.9087.27516 / 2024-11-17

Boriel Basic Compiler
From the terminal / console of the operating system, go to the folder where you have the Boriel Basic compiler and type:
Code:
zxbc --version
Version should be 1.17.3

I also need to know what operating system you are using: Windows, Linux or Mac.

If you have problems with any of the steps, let me know.

Best regards!


RE: Help with Book - StevesGaming - 11-18-2024

Thanks

ZXBasic Studio says Build 1.4.9087.27516 - 2014-11-17
zxbc reports that it's 1.17.3

i'm using windows 11