- 23 12月, 2015 1 次提交
-
- 16 12月, 2015 1 次提交
-
-
由 aarzilli 提交于
The concrete type of an interface only contains the abbreviated package name, we must construct a map from package names to package paths to be able to resolve the concrete type of an interface.
-
- 15 12月, 2015 1 次提交
-
-
由 Derek Parker 提交于
Fixes #301
-
- 29 10月, 2015 2 次提交
- 28 10月, 2015 1 次提交
-
-
由 Konstantin Shaposhnikov 提交于
Use runtime.allgs instead of runtime.allg that has been removed in https://github.com/golang/go/commit/5a68eb9f25a2a6290800278df972e04a4085cee3
-
- 23 10月, 2015 1 次提交
-
-
由 Derek Parker 提交于
Instead of trying to be clever and make an 'educated guess' as to where the flow of control may go next, simple do the more naive, yet correct, approach of setting a breakpoint everywhere we can in the function and seeing where we end up. On top of this we were already setting a breakpoint at the return address and deferred functions, so that remains the same. This removes a lot of gnarly, hard to maintain code and takes all the guesswork out of this command. Fixes #281
-
- 19 10月, 2015 3 次提交
-
-
由 Derek Parker 提交于
-
由 aarzilli 提交于
Three locations are returned for goroutines: its current location, its current location excluding unexported runtime functions and the location of its go instruction. The command 'goroutines' takes a new parameter to select which location to print (defaulting to current location w/o runtime)
-
由 Derek Parker 提交于
-
- 10 10月, 2015 3 次提交
-
-
由 Derek Parker 提交于
Only used under Linux, no need to have it available on Process itself.
-
由 Derek Parker 提交于
Prevents a lot of goroutines hanging around, especially when running tests.
-
由 Florin Patan 提交于
This adds support for breakpoints statistics Fixes #247
-
- 07 10月, 2015 2 次提交
-
-
由 Konstantin Shaposhnikov 提交于
I encountered the error message described in the issue while debugging InfluxDB. I can confirm that after this fix the error disapeared. Fixes #258
-
由 Derek Parker 提交于
-
- 05 10月, 2015 1 次提交
-
-
由 aarzilli 提交于
/proc/pid/stat needs more complex parsing Fixes #239
-
- 27 9月, 2015 2 次提交
-
-
由 aarzilli 提交于
Instead of using PTRACE_DETACH to inject SIGINT into the tracee use sys.Kill directly: PTRACE_DETACH is allowed to ignore its signal argument if the tracee isn't in signal-delivery-stop status.
-
由 Derek Parker 提交于
Only use software breakpoints for now. The reasoning is because it complicates the code without justification, and is only supported on Linux. Eventually, once watchpoints are properly implemented we will revive some of this code. Also, if it is ever necessary to actually set a hw breakpoint we can revive that code as well. All future versions of this code will include support for OSX before being merged back in.
-
- 21 9月, 2015 1 次提交
-
-
由 aarzilli 提交于
Use proc.(*Process).FindGoroutine in proc.(*Process).SwitchGoroutine and debugger.(*Debugger).Stacktrace. That method did not exist when those were originally written.
-
- 18 9月, 2015 3 次提交
-
-
由 aarzilli 提交于
stack command: -full flag prints local variables and arguments of all the functions on the stack trace
-
由 Ilia Choly 提交于
Some of the goroutines stored in runtime.allg are in the dead state and should not be displayed. The state is determined by the 'g.atomicstatus' member.
-
由 Ilia Choly 提交于
The GoroutineInfo method can be slow if there are many goroutines. This patch caches the results during a halt so they are not needlessly recomputed. Fixes #234
-
- 06 9月, 2015 2 次提交
-
-
由 Derek Parker 提交于
`next` would hang in highly parallel programs, causing test flickers and unexpected behavior. This patch fixes it by examining all stopped threads whenever Delve gets a notification, instead of just the thread that caused the stop.
-
由 aarzilli 提交于
-
- 30 8月, 2015 1 次提交
-
-
由 omie 提交于
Support multiple file / directory tables for multiple compilation units. - added a type DebugLines that can hold number of DebugLineInfo - added a supporting attribute to DebugLineInfo called 'Lookup' which is to be used to quickly lookup if file exists in FileNames slice - added supporting methods to lookup and return corresponding DebugLineInfo - changed the debug_line parsing behavior to read all the available tables and push them to DebugLines - since Process.lineInfo is now a slice, it was breaking AllPCsBetween as well - updated that function's definition to accept a new filename parameter to be able to extract related DebugLineInfo - updated calls to AllPCsBetween - fixed tests that were broken due to attribute type change in Process - updated _fixtures/cgotest program to include stdio.h, so that it updates .debug_line header - added a test to check 'next' in a cgo binary - OSX - 1.4 does not support cgo, handle that in new testcase
-
- 28 8月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 22 8月, 2015 2 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
This patch forces Delve to be more mindful of how it handles many threads and the goroutine context switching that occurs in such cases.
-
- 20 8月, 2015 1 次提交
-
-
由 Derek Parker 提交于
This patch aims to improve how Delve tracks the current goroutine, especially in very highly parallel programs. The main spirit of this patch is to ensure that even in situations where the goroutine we care about is not executing (common for len(g) > len(m)) we still end up back on that goroutine as a result of executing the 'next' command. We accomplish this by tracking our original goroutine id, and any time a breakpoint is hit or a threads stops, we examine the stopped threads and see if any are executing the goroutine we care about. If not, we set 'next' breakpoint for them again and continue them. This is done so that one of those threads can eventually pick up the goroutine we care about and begin executing it again.
-
- 19 8月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 11 8月, 2015 1 次提交
-
-
由 Derek Parker 提交于
We don't care, at the process level, whether or not we're single stepping. That state is really only relevant at the thread level.
-
- 09 8月, 2015 1 次提交
-
-
由 aarzilli 提交于
Breakpoints, tracepoints, etc.. take a location spec as input. This patch improves the expressiveness of that API. It allows: * Breakpoint at line * Breakpoint at function (handling package / receiver smoothing) * Breakpoint at address * Breakpoint at file:line * Setting breakpoint based off regexp
-
- 28 7月, 2015 5 次提交
-
-
由 aarzilli 提交于
the entry point of a function is the beginning of the prologue, which can be run multiple times for each invocation of a function if the stack needs to be expanded or the scheduler needs to be run.
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
由 aarzilli 提交于
proc.(*Thread).GetG: reading TLS memory directly for g address instead of modifying the executable code
-
由 aarzilli 提交于
bugfix, Issue #163: offset of g struct in TLS picked based on the value of runtime.buildVersion and presence of compile units created by GNU AS, instead of being fixed to -16
-
- 16 7月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 14 7月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-
- 11 7月, 2015 1 次提交
-
-
由 Derek Parker 提交于
-