Debugger.DebuggingSessionID() Method

Version: Available or changed with runtime version 1.0 until version 4.0 where it was deprecated.

Gets the ID of the session that the debugger is currently attached to.

Syntax

SessionID :=   Debugger.DebuggingSessionID()

Return Value

SessionID
 Type: Integer

The session ID that the debugger is currently attached to.

Debugger Data Type
Get Started with AL
Developing Extensions