compiler: emit debug variable info for init()
This commit is contained in:
parent
7afca7f8e5
commit
b72f6be9e9
3 changed files with 18 additions and 1 deletions
|
@ -138,6 +138,7 @@ func (c *codegen) emitDebugInfo(contract []byte) *DebugInfo {
|
|||
ReturnType: "Void",
|
||||
ReturnTypeSC: smartcontract.VoidType,
|
||||
SeqPoints: c.sequencePoints["init"],
|
||||
Variables: c.initVariables,
|
||||
})
|
||||
}
|
||||
if c.deployEndOffset >= 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue