Debug+GUI Mode=Compiling Old Code,No Debug poss.

BlitzMax Forums/BlitzMax Beginners Area/Debug+GUI Mode=Compiling Old Code,No Debug poss.

danvari(Posted 2007) [#1]
hello!

i've got two problems when compiling my application:

1) i can only use debug-mode OR gui-mode. if i am trying to use both of them, it seems that the compiler tries to compile some very old code that i have written a week ago or so...but that is the first time i have this kind of problem (same as 2.). in the console i've got something like this:


""""""""""""""""""""""""""""""""
S C H R A N Z O N L I N E
development snapshot
-------------------------

experimental build - bitte mit Vorsicht geniessen :D

Dein Username bitte:
Alles klar, !

Starte Host...
...OK!

Gebe hier die Server IP ein:
"""""""""""""""""""""""""""""

but the compiled stuff is NOT equal to the sourcecode! that is OLD code. :-\


2) if i try to use debug mode, the application stops with an error and it's impossible for me to debug the code. the application crashes. i have read here in the forum that it has to do with with a too large debug code. but i can say: it worked for me quite well all the time. also here it is the first time it happened.


i added the whole code, including everything you need to compile, if you are interest in compiling the code. it is the first time that i have written a network game, so it is bad style programming ;). do not be surprised....
http://rapidshare.com/files/50945457/SchranzOnline.zip

sorry for my bad english :-\....it is a long time ago since i spoke english....

thank you :)!


jsp(Posted 2007) [#2]
Compiling works here for me! Maybe your BlitzMax installation needs reinstall?

For the server:
Building client
Compiling:client.bmx
flat assembler version 1.66
4 passes, 33231 bytes.
Linking:client.debug.exe
Executing:client.debug.exe
S C H R A N Z O N L I N E
development snapshot
-------------------------

experimental build - bitte mit Vorsicht geniessen :D

Alles klar, Bill Gates!

Starte Host...
...OK!


Baue Verbindung zu 127.0.0.1 auf...
Erfolgreich verbunden, Baby ;)

Erstelle ein virtuelles Objekt für die Peer-Kommunikation...
...OK!


Process terminated


and for the client:
Building server
Compiling:server.bmx
flat assembler version 1.66
3 passes, 11651 bytes.
Linking:server.debug.exe
Executing:server.debug.exe

SchranzOnline Server
Autor: Stephan Schindel
-----------------------

Verteile imaguläre Karten (kann je nach Rechenleistung etwas dauern)...
...OK!

Erstelle Host und lausche an Port 8086...
...OK!

Der Server ist gestartet. Ich warte auf 4 Spieler ;)...

FOUR PLAYERS HAS BEEN CONNECTED TO THE HOST


Verteile Karten auf Clients...
...OK!

Process terminated


danvari(Posted 2007) [#3]
i reinstalled my blitzmax and it did not work either.......BUT....i removed the ".bmx" folder and removed the "client" & "client.debug" files......AND it worked! now i can debug the application and when i am using debug+gui mode it will compile the "new" code and not the old code anymore....

why is that so?


TomToad(Posted 2007) [#4]
Do you have quickbuild checked? Try unchecking it and see if it works. I find that MaxIDE works better with it off.