IDE crashes

Questions and discussion about the ZBasic IDE.
Post Reply
Genesis
Posts: 28
Joined: 14 January 2006, 21:46 PM

IDE crashes

Post by Genesis »

I have a fairly decent-size project (consisting of 7 files) I'm working on.

If I do not save changed files before I hit F7 to compile, invariably after a couple of attempts (e.g. while coding) the editor will bomb with a fatal error. Alternatively, F5 may crash partway through the load (the load may or may not complete)

Re-entering the editor shows that no changes were lost (the save happened before the blow-up) but somehow the IDE is getting very unhappy..... .making sure that I save any changed files before I hit F7 greatly reduces - but does not completely eliminate - the crashes.

Any ideas?

System is a WinXP SP2 box, runs loads of other stuff without problems.....
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Post by mikep »

I have a similar environment and have successfully compiled and downloaded projects with more than 15 files.

I think it might help if you could isolate the problem. Here are some scenarios to try:
1. Does it only bomb if you don't save the files first.
2. Try using the compiler to compile the code from the command line. You might also get a better error message from the compiler this way. See section 6 of the Reference Manual.
3. Try downloading the code using the ZLOAD utility from the command line. See section 7 of the Reference Manual.
4. Are there any error popups that you could describe? The ones containing module and address inside Windows are the most useful if you get them.
Mike Perks
Genesis
Posts: 28
Joined: 14 January 2006, 21:46 PM

Post by Genesis »

I'll see if I can isolate it....

It does not happen if I try to provoke it (e.g. by inserting a couple of trash characters in the front of a couple of source files, then hit F7)

But when actually editing, it is quite maddening. If I save before doing the compile, it usually does not crash. If I don't save, it will reliably within a couple of iterations of code/compile.

I'll see if I can get a traceback on it....
pjc30943
Posts: 220
Joined: 01 December 2005, 18:45 PM

Re: IDE crashes

Post by pjc30943 »

Using ZLoad solved the problem for me. Originally, I had the same issues: crash on compile. Not a single crash since switching over...
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

Originally, I had the same issues: crash on compile.
It should be pointed out that this fixed the problem of running on Win98SE (that is not officially supported by the IDE). The OP indicated that he is using WinXP where it should not be a problem. Even so, it will be interesting to see if that solution avoids the problem.

The following post describes how to set up the IDE to use an external program as the loader, specifically, zload.exe:
post-129.html#129
- Don Kinzer
Post Reply