Debugger.DebuggedSessionID() Method

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

Gets the ID of the previous session that the debugger was attached to.

Syntax

SessionID :=   Debugger.DebuggedSessionID()

Return Value

SessionID
 Type: Integer

The session ID that the debugger is currently attached to.

Debugger Data Type
Get Started with AL
Developing Extensions