Package com.pnfsoftware.jeb.core.util
Class DebuggerHelper
java.lang.Object
com.pnfsoftware.jeb.core.util.DebuggerHelper
Helper routines for
debugger units
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IDebuggerUnit
getDebugger
(IUnit unit) Retrieve or create a debugger for the provided code unit.static IDebuggerUnit
getDebugger
(IUnit unit, boolean createIfNotExist) Retrieve a debugger for the provided code unit.static String
-
Constructor Details
-
DebuggerHelper
public DebuggerHelper()
-
-
Method Details
-
typeName
- Parameters:
codeUnitType
- unit type of a code unit- Returns:
- the unit type of a decompiler plugin for the provided code unit
-
getDebugger
Retrieve or create a debugger for the provided code unit.- Parameters:
unit
-- Returns:
- the decompiler unit or null
-
getDebugger
Retrieve a debugger for the provided code unit.An existing debugger unit that can potentially manage the provided code unit will be returned. If several are found, find the one which is attached. If several debuggers exists and are attached, the result will be null.
- Parameters:
unit
-- Returns:
- the decompiler unit or null
-