B4J Question project will not compile in debug mode

Hilton

Active Member
Licensed User
Longtime User
Hi folks,

I am using b4j v4.00 and windows 10 and writing a console app (web application). I only use "debug" occasionally, however, it can be useful. I can readily survive without it.

As I progressed with my app it started coming up with the error in the attached file. To start with it would always compile in "debug" mode when asked to. As the app grew in size it would sometimes fail and if I quit b4j and reloaded it, "debug" would compile again. Now it refuses on each attempt.

As I said, it is not a train smash, I can live without it, but it would be nice if it worked for me.

Thanks,
Hilton.
 

Attachments

  • debugcomp.PNG
    debugcomp.PNG
    23.1 KB · Views: 170

Hilton

Active Member
Licensed User
Longtime User
Hi folks,

I seem to have resolved the compilation problem.

I developed the habit of stopping debug and recompiling(without clicking "kill process") when I wanted to recompile (still in debug mode).

I thought an interesting exercise would be :
quit b4j
clean up any java stuff in windows task manager
restart b4j and always press "kill process" before recompiling in debug mode

Well, I did that and have had no trouble since. When I have a bit more time I will try to mess it up again and then reapply the fix and see what happens. The other thing I might mention is that compiling in RELEASE mode without clicking "kill process" has not given any trouble.

Not very exciting but it may help someone else.

Hilton.
 
Upvote 0
Top