Inspectopedia
 
2024.3

Unnecessary debug initialization

Info
New
Last modified: 03 December 2024

Reports redundant ReactorDebugAgent.init() calls.

IDE can automatically initialize the Reactor Debug mode, so users don't need to call ReactorDebugAgent.init() or Hooks.onOperatorDebug() explicitly.

Also, calling both ReactorDebugAgent.init() and Hooks.onOperatorDebug() causes doubled debugging stack frames generated by Reactor.