Example: /Util/Crash Delegate Test

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

/Util/Crash Delegate Test


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

This example is the version from Wed, 22th Nov 2022.

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

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


💬 Ask a question or report a problem