- 25 1月, 2016 5 次提交
-
-
由 aarzilli 提交于
Typedefs that resolve to slices are not recorded in DWARF as typedefs but instead as structs in a way that there is no way to know they are really slices using debug/dwarf. Using golang.org/x/debug/dwarf instead this problem is solved and as a bonus some types are printed with a nicer names: (struct string → string, struct []int → []int, etc) Fixes #356 and #293
-
由 aarzilli 提交于
-
由 Vorn Mom 提交于
This change addresses a Windows-specifc issue with the 'test' command. On Windows, 'go test' generate executables with a '.exe' filename extention, but the current implementation attaches to a filename without the extention.
-
由 aarzilli 提交于
-
由 Derek Parker 提交于
Instead of doing a bunch of manual DWARF / memory parsing we instead can just dogfood the internal Variable API to retrieve the G struct.
-
- 24 1月, 2016 4 次提交
-
-
由 aarzilli 提交于
Backend only, no UI Implements #120 (partial)
-
由 aarzilli 提交于
-
由 Luke Hoban 提交于
-
由 Derek Parker 提交于
-
- 21 1月, 2016 2 次提交
-
-
由 Luke Hoban 提交于
Fixes #198.
-
由 Derek Parker 提交于
Instead of the `step` command single stepping every thread, instead only step the "current" thread. This fixes a few issues surrounding single stepping, and simplifies the logic. The original concerns around only stepping a single thread (with regard to coordination) are invalid and generally non-issues.
-
- 19 1月, 2016 1 次提交
-
-
由 aarzilli 提交于
Splitting an empty string results in a one element array with a single empty string element. See: http://play.golang.org/p/EzVX64Q82A
-
- 18 1月, 2016 1 次提交
-
-
由 aarzilli 提交于
Location specifiers starting with '*' can be followed by any expression supported by the evaluator. The expression should evaluate to either an integer (which will be interpreted as an address) or to a function pointer (which will be dereferenced to get the function's entry point).
-
- 16 1月, 2016 1 次提交
-
-
由 aarzilli 提交于
Temp breakpoints should be cleared even if a non-temp breakpoint is triggered on the same goroutine that the temp breakpoints are set on. Fixes #305
-
- 10 1月, 2016 5 次提交
-
-
由 aarzilli 提交于
Prefetch the entire memory of structs and arrays and cache it instead of issuing readMemory calls only when we get down to primitive types. This reduces the number of system calls to ptrace that variables makes. Improves performance in general, greatly improving it in some particular cases (involving large structs). Benchmarks without prefetching: BenchmarkArray-4 10 132189944 ns/op 0.06 MB/s BenchmarkArrayPointer-4 5 202538503 ns/op 0.04 MB/s BenchmarkMap-4 500 3804336 ns/op 0.27 MB/s BenchmarkGoroutinesInfo-4 10 126397104 ns/op BenchmarkLocalVariables-4 500 2494846 ns/op Benchmarks with prefetching: BenchmarkArray-4 200 10719087 ns/op 0.76 MB/s BenchmarkArrayPointer-4 100 11931326 ns/op 0.73 MB/s BenchmarkMap-4 1000 1466479 ns/op 0.70 MB/s BenchmarkGoroutinesInfo-4 10 103407004 ns/op BenchmarkLocalVariables-4 1000 1530395 ns/op Improvement factors: BenchmarkArray 12.33x BenchmarkArrayPointer 16.97x BenchmarkMap 2.59x BenchmarkGoroutinesInfo 1.22x BenchmarkLocalVariables 1.63x
-
由 aarzilli 提交于
-
由 Derek Parker 提交于
-
由 aarzilli 提交于
Fixes #341
-
由 Derek Parker 提交于
-
- 09 1月, 2016 12 次提交
-
-
由 aarzilli 提交于
-
由 aarzilli 提交于
-
由 aarzilli 提交于
-
由 aarzilli 提交于
Sometimes after PtraceSingleStep the thread does not advance of a single instruction but is, instead, blocked immediately by a SIGSTOP Made singleStep repeat the process until a SIGTRAP is observed. Unsure where the SIGSTOP comes from.
-
由 aarzilli 提交于
resume loops in continueOnce moved to a OS specific resume function, this makes the problem easier to deal with and seems to be more appropriate to a windows port given what transpired from discussion of Pull Request #276
-
由 aarzilli 提交于
-
由 aarzilli 提交于
Next sets its temporary breakpoints with the condition that they must only activate on the current goroutine, and then calls Continue When Continue encounters a temporary breakpoint it clears all the breakpoint. User visible changes: breakpoints that get hit while executing Next are not ignored. This commit does not implement full conditional breakpoints functionality, the only condition that can be set is on the goroutine id. Fixes race conditions in Next affecting TestNextConcurrent.
-
由 aarzilli 提交于
-
由 aarzilli 提交于
Fixes #262
-
由 aarzilli 提交于
-
由 aarzilli 提交于
Breakpoints are skipped either because: 1. when multiple breakpoints are hit simultaneously only one is processed 2. a thread hits a breakpoint while another thread is being singlestepped over the breakpoint. Additionally fixed a race condition between Continue and tracee termination.
-
由 aarzilli 提交于
Makes loadPackageMap actually work with github.com/... packages
-
- 04 1月, 2016 1 次提交
-
-
由 aarzilli 提交于
-
- 28 12月, 2015 2 次提交
-
-
由 Derek Parker 提交于
Export the function to shorten file paths from the terminal package so that it can be used in the `trace` subcommand.
-
由 Derek Parker 提交于
-
- 27 12月, 2015 2 次提交
- 23 12月, 2015 2 次提交
-
-
由 aarzilli 提交于
Go1.6 changed the behaviour of go/constants.
- 19 12月, 2015 1 次提交
-
-
由 aarzilli 提交于
recurseLevel value should not be reset when evaluating the contents of an interface variable Fixes #316
-
- 17 12月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-