Code center > Bug reports

Borg's runtime error

<< < (2/3) > >>

Griz:
well ... that band-aid does work ...
been running it for a few hundred thousand cycles, no problem.

any changes I make, I try to label/comment .... with reason/date ...
so it the 'fix' or core problem is later found, I can come back and
clean it up.

run that Borgerror.sim that I attached, PY ...
it should break as soon as it is loaded in.

the bots I used,  Excalibur1.1.txt ...
does seem to do a lot of mutating ...
so I don't know how that might affect what they try to do with
venom.  and he has the veggies set to get 100nrg/cycle ...
again, not sure how that might affect anything.
I only mention these as this is something I don't usually run
and I haven't gotten a crash in a long time up until tring his settings.

btw ... in the compiled version of 2.37.6 ...
the 'save error' is commented out and won't save error.sim on a crash.
it's just one line to uncomment, very close to the beginning ...
something like: 'on error go to fine'
once I did that and recompiled, it worked fine and wrote the error.

may have to find a way to get a new compiled version to Borg
so he doesn't give up. ;)

Griz:
VB debug question:

once a break has occured, and the debug has brought me to
a particular line ...
is there a way to continue to step thru the program?
iow ... to step to the next line from within VB?
or to go to another modual to check on a variable that
is in that routine ... ie ... to go look at .venom in other
places .. to 'backtrack' if you will to see where the problem
is coming from?

tnx

Numsgil:
You should be abel to continue the program flow to the next line using F8, Shift+F8, Ctrl+Shift+F8.

Check out the Debug menu.

Griz:

--- Quote ---You should be abel to continue the program flow to the next line using F8, Shift+F8, Ctrl+Shift+F8.

Check out the Debug menu.
--- End quote ---
yeah ...
I saw it had Step Into, Step Over, Step Out ...
but I couldn't find a way to make them do anything.
I had played with the setting breakpoints and toggle breakpoint
the other day when I was messing with the King Bot thing and
figured that out. sort of. ;)
but couldn't get it to step thru then either.
will have to go play some more I guess.
sure would be nice to have the docs.
tried that link for help you posted ...
but was unable to find any examples ...
just definitions, which weren't of much use.
but then I didn't spend a lot of time checking everything out.

Numsgil:
I use F8 et al all the time, so it may just be how you're using it...

If you could find someone who knows VB in person to physically show you how to use it, you would probably learn alot.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version