diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-10 19:06:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-10 19:06:16 +0800 |
commit | 56524d13b5113751539fe0a86a0a88fc4c45d2af (patch) | |
tree | b7eeca15e85a44be617df410a6153e6b286d4ee5 /cmd/mist/ui_lib.go | |
parent | b87442a9f72f9f8dad9ea1442fc69529b2aaa631 (diff) | |
download | dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar.gz dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar.bz2 dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar.lz dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar.xz dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.tar.zst dexon-56524d13b5113751539fe0a86a0a88fc4c45d2af.zip |
removed debugger
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index 187d5b2d6..b202432c4 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -47,9 +47,7 @@ type UiLib struct { connected bool assetPath string // The main application window - win *qml.Window - Db *Debugger - DbWindow *DebuggerWindow + win *qml.Window jsEngine *javascript.JSRE @@ -126,29 +124,6 @@ func (ui *UiLib) AssetPath(p string) string { return path.Join(ui.assetPath, p) } -func (self *UiLib) StartDbWithContractAndData(contractHash, data string) { - dbWindow := NewDebuggerWindow(self) - object := self.eth.ChainManager().State().GetStateObject(ethutil.Hex2Bytes(contractHash)) - if len(object.Code()) > 0 { - dbWindow.SetCode(ethutil.Bytes2Hex(object.Code())) - } - dbWindow.SetData(data) - - dbWindow.Show() -} - -func (self *UiLib) StartDbWithCode(code string) { - dbWindow := NewDebuggerWindow(self) - dbWindow.SetCode(code) - dbWindow.Show() -} - -func (self *UiLib) StartDebugger() { - dbWindow := NewDebuggerWindow(self) - - dbWindow.Show() -} - func (self *UiLib) Transact(params map[string]interface{}) (string, error) { object := mapToTxParams(params) |