How to use the @truffle/debug-utils.nativize function in @truffle/debug-utils

To help you get started, we’ve selected a few @truffle/debug-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / vscode-azure-blockchain-ethereum / src / debugAdapter / runtimeInterface.ts View on Github external
public async variables(/* args?: DebugProtocol.VariablesArguments */): Promise {
    if (this._session) {
      const variables = await this._session.variables();
      return truffleDebugUtils.nativize(variables);
    } else {
      return Promise.resolve({});
    }
  }