Vista wont let runtime error be handled by bmax

BlitzMax Forums/BlitzMax Programming/Vista wont let runtime error be handled by bmax

Dibble(Posted 2009) [#1]
Hi
I have a problem with vista, when a runtime error occurs
it kills the running blitzmax program and wont let blitzmax IDE
handle it.

it gives this windows error message:

name of prog.bmx has stopped working
windows is checking for a solution to the problem



It then terminates the program. even though its compiled with the
Build Debug checked. and doesnt jump to the offending line.

I did search in the forums for an answer, b4 posting.

Vista users surely must of encountered this?

Cheers Dibble


dan_upright(Posted 2009) [#2]
i'm on vista and i only get that popup if i try to continue a crashed program from the debugger (or if i'm compiling with debug off)


Dibble(Posted 2009) [#3]
It kills the program no matter what. and doesnt go back to the editor, I am running the latest version 1.33, which I bought off the site so is a legit program. I'll try reinstalling it.

Thanks


grable(Posted 2009) [#4]
There might not be an exception being thrown at all, ie its some other point of failure.
Try running in another debugger, like OllyDebug or similar...

In any case, heres a tiny list of common failures ive run into that do not throw exceptions, and incidentally are all stack related.

1. Accessing Self/Fields from functions within functions.
2. Using the wrong calling convention on a function pointer.
3. Calling a function with wrong prototype (usually works, but might not)


Dibble(Posted 2009) [#5]
I realised it was a divide by zero runtime error. Sorry I feel stupid for such a basic error.

I had put integers instead of floats for some of the variables, when I was rewriting a program example by someone else.