An exception thrown as the last thing in a file will report its source line and file as the source file's placement in the dme.
Code Snippet (if applicable) to Reproduce Problem:
/mob/verb/exceptional_exception_handling()
throw EXCEPTION("exceptional!")
Expected Results:
runtime error: Exception thrown: exceptional! (/exception)
proc name: exceptional exception handling (/mob/verb/exceptional_exception_handling)
source file: exceptions.dm,2
usr: MisterPerson (/mob)
src: MisterPerson (/mob)
call stack:
MisterPerson (/mob): exceptional exception handling()
Actual Results:
runtime error: Exception thrown: exceptional! (/exception)
proc name: exceptional exception handling (/mob/verb/exceptional_exception_handling)
source file: testing.dme,20
usr: MisterPerson (/mob)
src: MisterPerson (/mob)
call stack:
MisterPerson (/mob): exceptional exception handling()
When does the problem NOT occur?
When the exception isn't the last thing in a file. Even a newline stops this issue.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I didn't test any.