Documentation ¶
Index ¶
Constants ¶
View Source
const ( FileLineNo = iota << 1 // like main.go:100 FileFunc // like main.go:main PackageFunc // like main.main )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugSession ¶
type DebugSession struct {
// contains filtered or unexported fields
}
DebugSession 调试会话
var (
CurrentSession *DebugSession
)
func (*DebugSession) AtExit ¶
func (s *DebugSession) AtExit(fn func()) *DebugSession
func (*DebugSession) Start ¶
func (s *DebugSession) Start()
func (*DebugSession) Stop ¶
func (s *DebugSession) Stop()
Click to show internal directories.
Click to hide internal directories.