Background: solc's sourcemaps can refer to file index -1, which isn't handled by the debugger right now. Discovered this with v0.4.22, which seems to use that index more often.
Generally, this adds more well-formed defaults in place of undefined, and notably skips over undefined nodes when stepping next.
Required for trufflesuite/truffle#897
Background: solc's sourcemaps can refer to file index
-1
, which isn't handled by the debugger right now. Discovered this with v0.4.22, which seems to use that index more often.Generally, this adds more well-formed defaults in place of
undefined
, and notably skips over undefined nodes when stepping next.Also: fix mocha-webpack source maps