mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
Update thread.Continue documentation
This commit is contained in:
@ -36,10 +36,11 @@ type Location struct {
|
|||||||
Fn *gosym.Func
|
Fn *gosym.Func
|
||||||
}
|
}
|
||||||
|
|
||||||
// Continue the execution of this thread. This method takes
|
// Continue the execution of this thread.
|
||||||
// software breakpoints into consideration and ensures that
|
//
|
||||||
// we step over any breakpoints. It will restore the instruction,
|
// If we are currently at a breakpoint, we'll clear it
|
||||||
// step, and then restore the breakpoint and continue.
|
// first and then resume execution. Thread will continue until
|
||||||
|
// it hits a breakpoint or is signaled.
|
||||||
func (thread *Thread) Continue() error {
|
func (thread *Thread) Continue() error {
|
||||||
pc, err := thread.PC()
|
pc, err := thread.PC()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user