Search found 8 matches
- Fri Jun 23, 2017 7:09 pm
- Forum: Feature Requests and Wishlists
- Topic: HTTP POST and custom headers for HTTP request
- Replies: 9
- Views: 5564
- Tue Jun 13, 2017 10:35 am
- Forum: Feature Requests and Wishlists
- Topic: Proxy and asynchronous socket in NetworkLib
- Replies: 18
- Views: 9525
- Fri Apr 28, 2017 9:52 pm
- Forum: Feature Requests and Wishlists
- Topic: Handling Try/Catch
- Replies: 23
- Views: 10045
Re: Handling Try/Catch
With Macro and OnErrorLib
Update
;-TOP
Macro Try
OnErrorGoto(?LabelCatch#MacroExpandedCount)
EndMacro
Macro Catch
Goto LabelEndTry#MacroExpandedCount
LabelCatch#MacroExpandedCount:
OnErrorDefault()
EndMacro
Macro EndTry
LabelEndTry#MacroExpandedCount:
EndMacro
;- test
DisableDebugger ...
Update
;-TOP
Macro Try
OnErrorGoto(?LabelCatch#MacroExpandedCount)
EndMacro
Macro Catch
Goto LabelEndTry#MacroExpandedCount
LabelCatch#MacroExpandedCount:
OnErrorDefault()
EndMacro
Macro EndTry
LabelEndTry#MacroExpandedCount:
EndMacro
;- test
DisableDebugger ...
- Thu Apr 27, 2017 3:29 pm
- Forum: Feature Requests and Wishlists
- Topic: Handling Try/Catch
- Replies: 23
- Views: 10045
Re: Handling Try/Catch
Try/Catch allows you to capture application errors without affecting the application, you can collect error data and issue corrected updates for your clients.
- Wed Apr 26, 2017 3:13 pm
- Forum: Feature Requests and Wishlists
- Topic: Handling Try/Catch
- Replies: 23
- Views: 10045
Re: Handling Try/Catch
This option does not work, the application is shutting down.
Enable debugger:

Disable debugger:

Reference:

Enable debugger:

Disable debugger:

Reference:

- Tue Apr 25, 2017 8:53 pm
- Forum: Feature Requests and Wishlists
- Topic: Handling Try/Catch
- Replies: 23
- Views: 10045
- Wed Apr 19, 2017 7:56 am
- Forum: Announcement
- Topic: PureBasic 5.60 final is available !
- Replies: 145
- Views: 85401
- Sun Mar 02, 2014 10:40 pm
- Forum: Applications - Feedback and Discussion
- Topic: Workspace Control (WIP)
- Replies: 13
- Views: 20245
Re: Workspace Control (WIP)
Awesome!