Removing Links and crashes
BlitzMax Forums/BlitzMax Beginners Area/Removing Links and crashes
| ||
I wondered if anyone had experienced a similar problem to the one I am having - I'm in the debugger and as soon as I remove a link: RemoveLink(link.nextLink()) RemoveLink(link) ' Quits out here The project quits out and stops executing with the message 'Process complete' in the output window. Is this because I cant remove 'link.nextLink()' and then 'link' or is there some other problem? I'd really appreciate any help with this. Thanks |
| ||
You might want to show some code. When you say 'in the debugger' do you mean debug mode, after debugstop or something else? When you say you're 'in the debugger and as soon as I remove the link"... How do you remove the link? Do you mean when the program removes the link as you step through in the debugger? Does the problem occurs outside the debugger? If you display the value at that link what happens? |
| ||
You'll need to post an small working example that reproduces the error. |
| ||
Sorry guys was called away for a couple of days. The problem was that I was removing a link.nextLink() without checking that link wasnt Null cheers |