@@ -33,7 +33,8 @@ func close() {
func main() {
flag.Parse()
if name == "" {
- name = "XevDemo19"
+ name = "XevInit"
+ utils.Debug(false)
}
global := &stdDomain{god: true}
global.global = global
@@ -6,6 +6,11 @@ var debugFrame = false
var debugScope = false
var debugTrap = true
+func Debug(x bool) {
+ debugFrame = x
+ debugScope = x
+}
+
func PrintFrame(x ...interface{}) {
if debugFrame {
fmt.Println(x...)