Platforms to show: All Mac Windows Linux Cross-Platform

/Util/Crash Delegate Test


Required plugins for this example: MBS Util Plugin

Last modified Wed, 22th Nov 2022.

You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /Util/Crash Delegate Test

Download this example: Crash Delegate Test.zip

Project "Crash Delegate Test.xojo_binary_project"
Class App Inherits ConsoleApplication
EventHandler Function Run(args() as String) As Integer Try System.DebugLog "Try the call..." CallDelegateCrashSafeMBS AddressOf Test System.DebugLog "Call succeeded!" Catch c As DelegateCrashExceptionMBS System.DebugLog "Caught exception!" System.DebugLog c.Message End Try End EventHandler
Sub Test() Dim p As ptr = Nil System.DebugLog CurrentMethodName Dim d As Double = 0 Dim e As Double = 1/d p.Int32(0) = 0 System.DebugLog CurrentMethodName+" done" End Sub
End Class
End Project

Download this example: Crash Delegate Test.zip

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...