DVDartStackDecoder class abstract

Decodes a Dart stack trace printed by an AOT build made with --split-debug-info.

An interface here because the implementation reads ELF and DWARF through dart:io and a package that does not belong in a library that also runs in a browser; dartvel_shelf supplies one for the server.

Constructors

DVDartStackDecoder()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(String stack, {required List<List<int>> symbolFiles}) → Future<String?>
The decoded stack for stack, exactly as the VM printed it, using symbolFiles (the bytes of the matching .symbols files). Null when the stack cannot be decoded with them.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited