No. Just when exception is catch, you can get detailed description about it. You can convert it to string, and then display in msgbox with some custom info. Eg I put name of subroutine, etc...
This is VB .Net code:
Result when I click on button:Code:Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim i As Integer, x As Integer = 1, y As Integer = 0 Try i = x / y Catch ex As Exception MsgBox(ex.ToString, MsgBoxStyle.Critical, "Button1") End Try End Sub End Class
If they add something like this in MCS error should be located.
Then they can just ignore it, or something, but main goal should be that all work is saved, before it crash.
Eg they can just put few lines of code to create backup of all open files, to some location. Or to check on start up is there backup, and to ask user what to do, Restore from it, ignore, or what ever.




Bookmarks