Class Debugger.DisassembleWasmModuleResponse

  • Enclosing class:
    Debugger

    public static class Debugger.DisassembleWasmModuleResponse
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DisassembleWasmModuleResponse​(java.util.Optional<java.lang.String> streamId, java.lang.Integer totalNumberOfLines, java.util.List<java.lang.Integer> functionBodyOffsets, WasmDisassemblyChunk chunk)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      WasmDisassemblyChunk getChunk()
      The first chunk of disassembly.
      java.util.List<java.lang.Integer> getFunctionBodyOffsets()
      The offsets of all function bodies, in the format [start1, end1, start2, end2, ...] where all ends are exclusive.
      java.util.Optional<java.lang.String> getStreamId()
      For large modules, return a stream from which additional chunks of disassembly can be read successively.
      java.lang.Integer getTotalNumberOfLines()
      The total number of lines in the disassembly text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisassembleWasmModuleResponse

        public DisassembleWasmModuleResponse​(java.util.Optional<java.lang.String> streamId,
                                             java.lang.Integer totalNumberOfLines,
                                             java.util.List<java.lang.Integer> functionBodyOffsets,
                                             WasmDisassemblyChunk chunk)
    • Method Detail

      • getStreamId

        public java.util.Optional<java.lang.String> getStreamId()
        For large modules, return a stream from which additional chunks of disassembly can be read successively.
      • getTotalNumberOfLines

        public java.lang.Integer getTotalNumberOfLines()
        The total number of lines in the disassembly text.
      • getFunctionBodyOffsets

        public java.util.List<java.lang.Integer> getFunctionBodyOffsets()
        The offsets of all function bodies, in the format [start1, end1, start2, end2, ...] where all ends are exclusive.