Changed api.Variable to have a machine readable value

The new contents of api.Variable are documented in
proc/variables.go.

Implements #243
This commit is contained in:
aarzilli
2015-10-18 19:37:13 +02:00
committed by Derek Parker
parent 91939bc9e7
commit 50b5fc92e2
15 changed files with 1192 additions and 745 deletions

View File

@ -1,6 +1,7 @@
package main
import "fmt"
import "runtime"
type FooBar struct {
Baz int
@ -19,6 +20,7 @@ type Nest struct {
}
func barfoo() {
runtime.Breakpoint()
a1 := "bur"
fmt.Println(a1)
}
@ -56,6 +58,7 @@ func foobar(baz string, bar FooBar) {
ba = make([]int, 200, 200) // Test array size capping
)
runtime.Breakpoint()
barfoo()
fmt.Println(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, b1, b2, baz, neg, i8, u8, u16, u32, u64, up, f32, c64, c128, i32, bar, f, ms, ba, p1)
}