Activates the debugger and attaches the debugger to the next session that is started.
[Ok :=] ACTIVATE
Property Value/Return Value
true if the debugger is started successfully; otherwise, false.
If you omit this optional return value and if the break is not set successfully, then a run-time error occurs. If you include the return value, then you must handle any errors.
The ACTIVATE function behaves like the Debug Next action on the Sessions page.
You can call either the ACTIVATE function or the ATTACH Function (Debugger) to activate the debugger.
The ACTIVATE function is not supported by the Microsoft Dynamics NAV Web client or Microsoft Dynamics NAV SharePoint client. If the ACTIVATE function is called from a page in the Microsoft Dynamics NAV Web client or Microsoft Dynamics NAV SharePoint client, you receive a runtime error with a message that is similar to the following:
The Ribbon Tab with id: "MBSCC.1A7.1A7" has not been made available for this page or does not exist. Use Ribbon.MakeTabAvailable().