summaryrefslogtreecommitdiff
path: root/debugGolang.go
diff options
context:
space:
mode:
Diffstat (limited to 'debugGolang.go')
-rw-r--r--debugGolang.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/debugGolang.go b/debugGolang.go
index ac0b929..fb1fb07 100644
--- a/debugGolang.go
+++ b/debugGolang.go
@@ -9,18 +9,11 @@ import (
"runtime/pprof"
)
-func (n *Node) DebugGolangWindow(makeWindow bool) {
+func (n *Node) DebugGolangWindow() {
var w, g, og, outputTextbox *Node
- // Either:
- // make a new window
- // make a new tab in the existing window
- if (makeWindow) {
- w = me.rootNode.NewWindow("GO")
- w.Custom = w.StandardClose
- } else {
- w = n.NewTab("GOLANG")
- }
+ w = n.NewWindow("GO")
+ w.Custom = w.StandardClose
g = w.NewGroup("Language Internals")