Class Module
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.Module
A Module object represents a row in the modules view. Two attributes are mandatory: an id
identifies a module in the modules view and is used in a ModuleEvent for identifying a module for
adding, updating or deleting. The name is used to minimally render the module in the UI.
Additional attributes can be added to the module. They will show up in the module View if they
have a corresponding ColumnDescriptor.
To avoid an unnecessary proliferation of additional attributes with similar semantics but
different names we recommend to re-use attributes from the 'recommended' list below first, and
only introduce new attributes if nothing appropriate could be found.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModulebooleanAddress range covered by this module.Module created or modified.getId()Unique identifier for the module.True if the module is optimized.True if the module is considered 'user code' by a debugger that supports 'Just My Code'.getName()A name of the module.getPath()optional but recommended attributes.Logical full path to the symbol file.User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc.Version of Module.inthashCode()setAddressRange(String addressRange) setDateTimeStamp(String dateTimeStamp) setIsOptimized(Boolean isOptimized) setIsUserCode(Boolean isUserCode) setSymbolFilePath(String symbolFilePath) setSymbolStatus(String symbolStatus) setVersion(String version)
-
Method Details
-
getId
Unique identifier for the module. -
setId
-
getName
A name of the module. -
setName
-
getPath
optional but recommended attributes. always try to use these first before introducing additional attributes. Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module. -
setPath
-
getIsOptimized
True if the module is optimized. -
setIsOptimized
-
getIsUserCode
True if the module is considered 'user code' by a debugger that supports 'Just My Code'. -
setIsUserCode
-
getVersion
Version of Module. -
setVersion
-
getSymbolStatus
User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc. -
setSymbolStatus
-
getSymbolFilePath
Logical full path to the symbol file. The exact definition is implementation defined. -
setSymbolFilePath
-
getDateTimeStamp
Module created or modified. -
setDateTimeStamp
-
getAddressRange
Address range covered by this module. -
setAddressRange
-
equals
-
hashCode
public int hashCode() -
create
-