Code center > Bugs and fixes

What? No bug reports?

<< < (3/4) > >>

PurpleYouko:
That looks like the robot placement box code.

I have never had a crash there before.

You are doing the right thing to find the error. When you click "debug" after a crash, the problem line will be highlighted in yellow.
This doesn't often mean that the actual error is in this line but more likely that this line simply catches an error generated eleswhere.

If you hold the mouse over the line of code (or anywhere in the subroutine) you will see little text boxes appear that show the present values in the variables. This information is extremely valuable for de-bugging.

Old Henk:
Tried to generate bug again, and got it to chrash again. for clarity: it is in optionsform, under list management

Line:

--- Code: ---Shape1.width = Command3.left - Command2.left + Command2.width
--- End code ---

Values:
Shape1.width: 23
Command3.left: 2570
Command2.left: 7457
Command2.width: 135

PurpleYouko:
The line of code appears under "Speclist_Click"

There is a commented heading that says "list Management" at the top of the section

Does that sound right?

Are you using V2.37.6 or 2.4 here?

How exactly do you make it crash. I can't seem to get it to do so.

PurpleYouko:
Ah! I think I have reproduced the error.

You have to move the top right corner marker off the left side of the field to make a negative width.

Should be fixable.

Old Henk:
Great! Yay I just found my first bug :) This is an historical moment... :)

Glad to hear it's fixable

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version