Debugging MDrivenServer Serverside actions
(x)
 
Line 1: Line 1:
To see what actions that has been executed you can look them up in admin/AdminAppPeriodicActions.aspx
=== Catching debug info and saving it into your model ===
[[File:2019-09-09 13h54 03.png|none|thumb]]
You can also get an overview what runs when by looking at /admin/WorkInfo.aspx
[[File:2019-09-09 13h55 32.png|none|thumb|x]]
And then you will always see actions in the log at admin/Log.aspx:
[[File:2019-09-09 13h59 22.png|none|thumb|1390x1390px|x]]
 
Notice the number hiliited in green - this number binds one server job together - there may be many jobs going in parallel - and the log will be mixed - but the number will help you see what belongs to what.
 
==== Catching debug info and saving it into your model ====
To further simplify debugging we have in the September 2019 release added extended functionality.
To further simplify debugging we have in the September 2019 release added extended functionality.


Line 20: Line 11:


If an exception occurs in a serverside viewmodel we will set ErrorInfo, ExceptionInfo and lastly call OnException-action.
If an exception occurs in a serverside viewmodel we will set ErrorInfo, ExceptionInfo and lastly call OnException-action.
=== Logging and information on what the server does ===
To see what actions that has been executed you can look them up in admin/AdminAppPeriodicActions.aspx
[[File:2019-09-09 13h54 03.png|none|thumb]]
You can also get an overview what runs when by looking at /admin/WorkInfo.aspx
[[File:2019-09-09 13h55 32.png|none|thumb|x]]
And then you will always see actions in the log at admin/Log.aspx:
[[File:2019-09-09 13h59 22.png|none|thumb|1390x1390px|x]]
Notice the number hiliited in green - this number binds one server job together - there may be many jobs going in parallel - and the log will be mixed - but the number will help you see what belongs to what.

Revision as of 12:10, 9 September 2019

Catching debug info and saving it into your model

To further simplify debugging we have in the September 2019 release added extended functionality.

You can add root viewmodel columns named:

ErrorInfo (not case sensitive, must start with) - string typically less than 255 char

ExceptionInfo (not case sensitive, must start with) - string typically long with a callstack - we will truncate to fit target attribute

OnException (action, not case sensitive, must start with)

If an exception occurs in a serverside viewmodel we will set ErrorInfo, ExceptionInfo and lastly call OnException-action.

Logging and information on what the server does

To see what actions that has been executed you can look them up in admin/AdminAppPeriodicActions.aspx

2019-09-09 13h54 03.png

You can also get an overview what runs when by looking at /admin/WorkInfo.aspx

x

And then you will always see actions in the log at admin/Log.aspx:

x

Notice the number hiliited in green - this number binds one server job together - there may be many jobs going in parallel - and the log will be mixed - but the number will help you see what belongs to what.

This page was edited 73 days ago on 02/10/2024. What links here