Code center > Solved Bugs

runtime 6/compile error

<< < (6/15) > >>

PurpleYouko:
And it also breaks in the wrong place and won't give access to variables by mouse hovering.

A better way is to set a break point in the routine where you want to debug.

Still no good if all the values are perfectly within normal parameters though. That is why I go into another routine (one which calls the one I want to debug), break it there with a break point, then modify values from the immediate window. Hit the go button to continue past the break point then see if you can force a crash in the routine that you are trying to debug.

That was the way I checked the Maxspeed, shell, mass and so forth earlier.

PurpleYouko:
YAY!!!!!!  :D

I managed to recreate the error by running corpses in pond mode with Bouyancy turned on.

Now to hit the debug tools.

(cracks knuckles)

Numsgil:
You can set a line to break on by going o it with your mouse and hitting F9.  A red circle will appear beside it to tell you it's now a beak line.

PurpleYouko:

--- Quote ---You can set a line to break on by going o it with your mouse and hitting F9.  A red circle will appear beside it to tell you it's now a beak line.
--- End quote ---
Never tried it that way.

Easier just to left click with the mouse in the left magin next to the line where you want code execution to break.

Testlund:

--- Quote ---YAY!!!!!!  :D

I managed to recreate the error by running corpses in pond mode with Bouyancy turned on.

Now to hit the debug tools.

(cracks knuckles)
--- End quote ---
Graaah! I SUSPECTED there were something different with how we run the simulations. Try this settings file out and see what you get.

After you've loaded the settings file you need to manually change the following the the values I use, because they don't get saved in the settings file:

General tab:

Waste Treshold: 100

Boyancy: Checked

Corpse mode: Enabled

Repopulation cooldown period: 10

NRG/veggie/cycle: 10

Right after I've started the sim I enter mutations tab and change to 32x, then I lower it one step every 5000 cycles. I want to start with large diversity and later on let the natural selection decide wich bots survives. Never get very far though.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version