soliditypp icon indicating copy to clipboard operation
soliditypp copied to clipboard

Filename changes cause vmLog logging issues.

Open weserickson opened this issue 2 years ago • 0 comments

The issue: vmLogs may appear empty in VSCode debugger output depending on the current contract filename.

Here's a zip of both a working and buggy example: filename_bug.zip

To see the problem:

  1. Open WrongName.solpp in VSCode
  2. Launch the debugger.
  3. Deploy the contract "MyEmitter"
  4. Call the function "doEmit"
  5. View the debug log output, the receive transaction will have an empty vmLog.

Problem goes away with identical files apart from a change to the filename.

weserickson avatar Sep 21 '21 19:09 weserickson