Documentation
¶
Overview ¶
Package lldb provides low-level Go bindings for the liblldb bridge.
The bridge is compiled against one liblldb installation. Handles own C++ SB API values and must be released with their matching Delete function. Call LLDBSBDebuggerDestroy before deleting a debugger created with LLDBSBDebuggerCreateWithInitFiles.
Index ¶
- Constants
- Variables
- func Close() error
- func Has(symbol string) bool
- func LLDBLastError() string
- func LLDBSBBreakpointDelete(self LLDBSBBreakpointRef)
- func LLDBSBBreakpointGetID(self LLDBSBBreakpointRef) uint32
- func LLDBSBBreakpointIsEnabled(self LLDBSBBreakpointRef) bool
- func LLDBSBBreakpointIsValid(self LLDBSBBreakpointRef) bool
- func LLDBSBBreakpointSetEnabled(self LLDBSBBreakpointRef, enabled bool)
- func LLDBSBDebuggerClear(self LLDBSBDebuggerRef)
- func LLDBSBDebuggerDelete(self LLDBSBDebuggerRef)
- func LLDBSBDebuggerDestroy(debugger LLDBSBDebuggerRef)
- func LLDBSBDebuggerGetAsync(self LLDBSBDebuggerRef) bool
- func LLDBSBDebuggerGetNumTargets(self LLDBSBDebuggerRef) uint32
- func LLDBSBDebuggerGetVersionString() string
- func LLDBSBDebuggerHandleCommand(self LLDBSBDebuggerRef, command string)
- func LLDBSBDebuggerInitialize()
- func LLDBSBDebuggerIsValid(self LLDBSBDebuggerRef) bool
- func LLDBSBDebuggerSetAsync(self LLDBSBDebuggerRef, enabled bool)
- func LLDBSBDebuggerSkipAppInitFiles(self LLDBSBDebuggerRef, skip bool)
- func LLDBSBDebuggerSkipLLDBInitFiles(self LLDBSBDebuggerRef, skip bool)
- func LLDBSBDebuggerTerminate()
- func LLDBSBErrorClear(self LLDBSBErrorRef)
- func LLDBSBErrorDelete(self LLDBSBErrorRef)
- func LLDBSBErrorFail(self LLDBSBErrorRef) bool
- func LLDBSBErrorGetCString(self LLDBSBErrorRef) string
- func LLDBSBErrorGetError(self LLDBSBErrorRef) uint32
- func LLDBSBErrorIsValid(self LLDBSBErrorRef) bool
- func LLDBSBErrorSuccess(self LLDBSBErrorRef) bool
- func LLDBSBFrameDelete(self LLDBSBFrameRef)
- func LLDBSBFrameGetDisplayFunctionName(self LLDBSBFrameRef) string
- func LLDBSBFrameGetFunctionName(self LLDBSBFrameRef) string
- func LLDBSBFrameGetPC(self LLDBSBFrameRef) uint64
- func LLDBSBFrameIsValid(self LLDBSBFrameRef) bool
- func LLDBSBProcessDelete(self LLDBSBProcessRef)
- func LLDBSBProcessGetNumThreads(self LLDBSBProcessRef) uint32
- func LLDBSBProcessGetProcessID(self LLDBSBProcessRef) uint64
- func LLDBSBProcessGetSTDERR(self LLDBSBProcessRef, data []byte) uint
- func LLDBSBProcessGetSTDOUT(self LLDBSBProcessRef, data []byte) uint
- func LLDBSBProcessGetState(self LLDBSBProcessRef) int32
- func LLDBSBProcessIsValid(self LLDBSBProcessRef) bool
- func LLDBSBProcessPutSTDIN(self LLDBSBProcessRef, data []byte) uint
- func LLDBSBProcessReadMemory(self LLDBSBProcessRef, address uint64, data []byte, error LLDBSBErrorRef) uint
- func LLDBSBProcessSetSelectedThreadByID(self LLDBSBProcessRef, threadID uint64) bool
- func LLDBSBProcessWriteMemory(self LLDBSBProcessRef, address uint64, data []byte, error LLDBSBErrorRef) uint
- func LLDBSBTargetDelete(self LLDBSBTargetRef)
- func LLDBSBTargetDeleteAllBreakpoints(self LLDBSBTargetRef)
- func LLDBSBTargetGetNumModules(self LLDBSBTargetRef) uint32
- func LLDBSBTargetIsValid(self LLDBSBTargetRef) bool
- func LLDBSBThreadDelete(self LLDBSBThreadRef)
- func LLDBSBThreadGetIndexID(self LLDBSBThreadRef) uint32
- func LLDBSBThreadGetNumFrames(self LLDBSBThreadRef) uint32
- func LLDBSBThreadGetStopReason(self LLDBSBThreadRef) int32
- func LLDBSBThreadGetThreadID(self LLDBSBThreadRef) uint64
- func LLDBSBThreadIsValid(self LLDBSBThreadRef) bool
- func LLDBSBValueDelete(self LLDBSBValueRef)
- func LLDBSBValueGetName(self LLDBSBValueRef) string
- func LLDBSBValueGetNumChildren(self LLDBSBValueRef) uint32
- func LLDBSBValueGetSummary(self LLDBSBValueRef) string
- func LLDBSBValueGetValue(self LLDBSBValueRef) string
- func LLDBSBValueIsValid(self LLDBSBValueRef) bool
- func Load(path string) error
- func Loaded() bool
- func Path() string
- func Require(symbol string) error
- type LLDBSBBreakpointRef
- type LLDBSBDebuggerRef
- type LLDBSBErrorRef
- func LLDBSBErrorNew() LLDBSBErrorRef
- func LLDBSBProcessContinue(self LLDBSBProcessRef) LLDBSBErrorRef
- func LLDBSBProcessDetachSimple(self LLDBSBProcessRef) LLDBSBErrorRef
- func LLDBSBProcessKill(self LLDBSBProcessRef) LLDBSBErrorRef
- func LLDBSBProcessSignal(self LLDBSBProcessRef, signal int32) LLDBSBErrorRef
- func LLDBSBProcessStop(self LLDBSBProcessRef) LLDBSBErrorRef
- type LLDBSBFrameRef
- type LLDBSBProcessRef
- type LLDBSBTargetRef
- type LLDBSBThreadRef
- type LLDBSBValueRef
- type SymbolError
Examples ¶
Constants ¶
const LibraryPathEnv = "LIBLLDB_BRIDGE_PATH"
LibraryPathEnv names the environment variable that overrides where the bridge library is loaded from.
Variables ¶
var LLDBLastError_fn func() string
var LLDBSBBreakpointDelete_fn func(LLDBSBBreakpointRef)
var LLDBSBBreakpointGetID_fn func(LLDBSBBreakpointRef) uint32
var LLDBSBBreakpointIsEnabled_fn func(LLDBSBBreakpointRef) bool
var LLDBSBBreakpointIsValid_fn func(LLDBSBBreakpointRef) bool
var LLDBSBBreakpointSetEnabled_fn func(LLDBSBBreakpointRef, bool)
var LLDBSBDebuggerClear_fn func(LLDBSBDebuggerRef)
var LLDBSBDebuggerCreateTargetSimple_fn func(LLDBSBDebuggerRef, string) LLDBSBTargetRef
var LLDBSBDebuggerCreateWithInitFiles_fn func(bool) LLDBSBDebuggerRef
var LLDBSBDebuggerDelete_fn func(LLDBSBDebuggerRef)
var LLDBSBDebuggerDestroy_fn func(LLDBSBDebuggerRef)
var LLDBSBDebuggerGetAsync_fn func(LLDBSBDebuggerRef) bool
var LLDBSBDebuggerGetNumTargets_fn func(LLDBSBDebuggerRef) uint32
var LLDBSBDebuggerGetSelectedTarget_fn func(LLDBSBDebuggerRef) LLDBSBTargetRef
var LLDBSBDebuggerGetVersionString_fn func() string
var LLDBSBDebuggerHandleCommand_fn func(LLDBSBDebuggerRef, string)
var LLDBSBDebuggerInitialize_fn func()
var LLDBSBDebuggerIsValid_fn func(LLDBSBDebuggerRef) bool
var LLDBSBDebuggerSetAsync_fn func(LLDBSBDebuggerRef, bool)
var LLDBSBDebuggerSkipAppInitFiles_fn func(LLDBSBDebuggerRef, bool)
var LLDBSBDebuggerSkipLLDBInitFiles_fn func(LLDBSBDebuggerRef, bool)
var LLDBSBDebuggerTerminate_fn func()
var LLDBSBErrorClear_fn func(LLDBSBErrorRef)
var LLDBSBErrorDelete_fn func(LLDBSBErrorRef)
var LLDBSBErrorFail_fn func(LLDBSBErrorRef) bool
var LLDBSBErrorGetCString_fn func(LLDBSBErrorRef) string
var LLDBSBErrorGetError_fn func(LLDBSBErrorRef) uint32
var LLDBSBErrorIsValid_fn func(LLDBSBErrorRef) bool
var LLDBSBErrorNew_fn func() LLDBSBErrorRef
var LLDBSBErrorSuccess_fn func(LLDBSBErrorRef) bool
var LLDBSBFrameDelete_fn func(LLDBSBFrameRef)
var LLDBSBFrameEvaluateExpressionSimple_fn func(LLDBSBFrameRef, string) LLDBSBValueRef
var LLDBSBFrameGetDisplayFunctionName_fn func(LLDBSBFrameRef) string
var LLDBSBFrameGetFunctionName_fn func(LLDBSBFrameRef) string
var LLDBSBFrameGetPC_fn func(LLDBSBFrameRef) uint64
var LLDBSBFrameIsValid_fn func(LLDBSBFrameRef) bool
var LLDBSBProcessContinue_fn func(LLDBSBProcessRef) LLDBSBErrorRef
var LLDBSBProcessDelete_fn func(LLDBSBProcessRef)
var LLDBSBProcessDetachSimple_fn func(LLDBSBProcessRef) LLDBSBErrorRef
var LLDBSBProcessGetNumThreads_fn func(LLDBSBProcessRef) uint32
var LLDBSBProcessGetProcessID_fn func(LLDBSBProcessRef) uint64
var LLDBSBProcessGetSTDERR_fn func(LLDBSBProcessRef, uintptr, uint) uint
var LLDBSBProcessGetSTDOUT_fn func(LLDBSBProcessRef, uintptr, uint) uint
var LLDBSBProcessGetSelectedThread_fn func(LLDBSBProcessRef) LLDBSBThreadRef
var LLDBSBProcessGetState_fn func(LLDBSBProcessRef) int32
var LLDBSBProcessGetThreadAtIndex_fn func(LLDBSBProcessRef, uint32) LLDBSBThreadRef
var LLDBSBProcessIsValid_fn func(LLDBSBProcessRef) bool
var LLDBSBProcessKill_fn func(LLDBSBProcessRef) LLDBSBErrorRef
var LLDBSBProcessPutSTDIN_fn func(LLDBSBProcessRef, uintptr, uint) uint
var LLDBSBProcessReadMemory_fn func(LLDBSBProcessRef, uint64, uintptr, uint, LLDBSBErrorRef) uint
var LLDBSBProcessSetSelectedThreadByID_fn func(LLDBSBProcessRef, uint64) bool
var LLDBSBProcessSignal_fn func(LLDBSBProcessRef, int32) LLDBSBErrorRef
var LLDBSBProcessStop_fn func(LLDBSBProcessRef) LLDBSBErrorRef
var LLDBSBProcessWriteMemory_fn func(LLDBSBProcessRef, uint64, uintptr, uint, LLDBSBErrorRef) uint
var LLDBSBTargetBreakpointCreateByLocationSimple_fn func(LLDBSBTargetRef, string, uint32) LLDBSBBreakpointRef
var LLDBSBTargetBreakpointCreateByNameSimple_fn func(LLDBSBTargetRef, string) LLDBSBBreakpointRef
var LLDBSBTargetDeleteAllBreakpoints_fn func(LLDBSBTargetRef)
var LLDBSBTargetDelete_fn func(LLDBSBTargetRef)
var LLDBSBTargetGetNumModules_fn func(LLDBSBTargetRef) uint32
var LLDBSBTargetGetProcess_fn func(LLDBSBTargetRef) LLDBSBProcessRef
var LLDBSBTargetIsValid_fn func(LLDBSBTargetRef) bool
var LLDBSBThreadDelete_fn func(LLDBSBThreadRef)
var LLDBSBThreadGetFrameAtIndex_fn func(LLDBSBThreadRef, uint32) LLDBSBFrameRef
var LLDBSBThreadGetIndexID_fn func(LLDBSBThreadRef) uint32
var LLDBSBThreadGetNumFrames_fn func(LLDBSBThreadRef) uint32
var LLDBSBThreadGetStopReason_fn func(LLDBSBThreadRef) int32
var LLDBSBThreadGetThreadID_fn func(LLDBSBThreadRef) uint64
var LLDBSBThreadIsValid_fn func(LLDBSBThreadRef) bool
var LLDBSBValueDelete_fn func(LLDBSBValueRef)
var LLDBSBValueGetChildAtIndex_fn func(LLDBSBValueRef, uint32) LLDBSBValueRef
var LLDBSBValueGetName_fn func(LLDBSBValueRef) string
var LLDBSBValueGetNumChildren_fn func(LLDBSBValueRef) uint32
var LLDBSBValueGetSummary_fn func(LLDBSBValueRef) string
var LLDBSBValueGetValue_fn func(LLDBSBValueRef) string
var LLDBSBValueIsValid_fn func(LLDBSBValueRef) bool
Functions ¶
func Close ¶
func Close() error
Close unloads the library and clears every bound function pointer.
The pointers are package-level state, so Close must not run concurrently with any other call into this package. It exists for test teardown, not for reclaiming a library still in use.
func Has ¶
Has reports whether a symbol resolved in the loaded library, loading it first if necessary. It reports false when the library cannot be loaded. Use it to gate on capabilities before calling into them.
func LLDBLastError ¶
func LLDBLastError() string
LLDBLastError Returns the message of the exception thrown by the most recent bridge call on this thread, or NULL.
func LLDBSBBreakpointDelete ¶
func LLDBSBBreakpointDelete(self LLDBSBBreakpointRef)
func LLDBSBBreakpointGetID ¶
func LLDBSBBreakpointGetID(self LLDBSBBreakpointRef) uint32
func LLDBSBBreakpointIsEnabled ¶
func LLDBSBBreakpointIsEnabled(self LLDBSBBreakpointRef) bool
func LLDBSBBreakpointIsValid ¶
func LLDBSBBreakpointIsValid(self LLDBSBBreakpointRef) bool
func LLDBSBBreakpointSetEnabled ¶
func LLDBSBBreakpointSetEnabled(self LLDBSBBreakpointRef, enabled bool)
func LLDBSBDebuggerClear ¶
func LLDBSBDebuggerClear(self LLDBSBDebuggerRef)
func LLDBSBDebuggerDelete ¶
func LLDBSBDebuggerDelete(self LLDBSBDebuggerRef)
func LLDBSBDebuggerDestroy ¶
func LLDBSBDebuggerDestroy(debugger LLDBSBDebuggerRef)
func LLDBSBDebuggerGetAsync ¶
func LLDBSBDebuggerGetAsync(self LLDBSBDebuggerRef) bool
func LLDBSBDebuggerGetNumTargets ¶
func LLDBSBDebuggerGetNumTargets(self LLDBSBDebuggerRef) uint32
func LLDBSBDebuggerGetVersionString ¶
func LLDBSBDebuggerGetVersionString() string
func LLDBSBDebuggerHandleCommand ¶
func LLDBSBDebuggerHandleCommand(self LLDBSBDebuggerRef, command string)
func LLDBSBDebuggerInitialize ¶
func LLDBSBDebuggerInitialize()
func LLDBSBDebuggerIsValid ¶
func LLDBSBDebuggerIsValid(self LLDBSBDebuggerRef) bool
func LLDBSBDebuggerSetAsync ¶
func LLDBSBDebuggerSetAsync(self LLDBSBDebuggerRef, enabled bool)
func LLDBSBDebuggerSkipAppInitFiles ¶
func LLDBSBDebuggerSkipAppInitFiles(self LLDBSBDebuggerRef, skip bool)
func LLDBSBDebuggerSkipLLDBInitFiles ¶
func LLDBSBDebuggerSkipLLDBInitFiles(self LLDBSBDebuggerRef, skip bool)
func LLDBSBDebuggerTerminate ¶
func LLDBSBDebuggerTerminate()
func LLDBSBErrorClear ¶
func LLDBSBErrorClear(self LLDBSBErrorRef)
func LLDBSBErrorDelete ¶
func LLDBSBErrorDelete(self LLDBSBErrorRef)
func LLDBSBErrorFail ¶
func LLDBSBErrorFail(self LLDBSBErrorRef) bool
func LLDBSBErrorGetCString ¶
func LLDBSBErrorGetCString(self LLDBSBErrorRef) string
func LLDBSBErrorGetError ¶
func LLDBSBErrorGetError(self LLDBSBErrorRef) uint32
func LLDBSBErrorIsValid ¶
func LLDBSBErrorIsValid(self LLDBSBErrorRef) bool
func LLDBSBErrorSuccess ¶
func LLDBSBErrorSuccess(self LLDBSBErrorRef) bool
func LLDBSBFrameDelete ¶
func LLDBSBFrameDelete(self LLDBSBFrameRef)
func LLDBSBFrameGetDisplayFunctionName ¶
func LLDBSBFrameGetDisplayFunctionName(self LLDBSBFrameRef) string
func LLDBSBFrameGetFunctionName ¶
func LLDBSBFrameGetFunctionName(self LLDBSBFrameRef) string
func LLDBSBFrameGetPC ¶
func LLDBSBFrameGetPC(self LLDBSBFrameRef) uint64
func LLDBSBFrameIsValid ¶
func LLDBSBFrameIsValid(self LLDBSBFrameRef) bool
func LLDBSBProcessDelete ¶
func LLDBSBProcessDelete(self LLDBSBProcessRef)
func LLDBSBProcessGetNumThreads ¶
func LLDBSBProcessGetNumThreads(self LLDBSBProcessRef) uint32
func LLDBSBProcessGetProcessID ¶
func LLDBSBProcessGetProcessID(self LLDBSBProcessRef) uint64
func LLDBSBProcessGetSTDERR ¶
func LLDBSBProcessGetSTDERR(self LLDBSBProcessRef, data []byte) uint
func LLDBSBProcessGetSTDOUT ¶
func LLDBSBProcessGetSTDOUT(self LLDBSBProcessRef, data []byte) uint
func LLDBSBProcessGetState ¶
func LLDBSBProcessGetState(self LLDBSBProcessRef) int32
func LLDBSBProcessIsValid ¶
func LLDBSBProcessIsValid(self LLDBSBProcessRef) bool
func LLDBSBProcessPutSTDIN ¶
func LLDBSBProcessPutSTDIN(self LLDBSBProcessRef, data []byte) uint
func LLDBSBProcessReadMemory ¶
func LLDBSBProcessReadMemory(self LLDBSBProcessRef, address uint64, data []byte, error LLDBSBErrorRef) uint
func LLDBSBProcessSetSelectedThreadByID ¶
func LLDBSBProcessSetSelectedThreadByID(self LLDBSBProcessRef, threadID uint64) bool
func LLDBSBProcessWriteMemory ¶
func LLDBSBProcessWriteMemory(self LLDBSBProcessRef, address uint64, data []byte, error LLDBSBErrorRef) uint
func LLDBSBTargetDelete ¶
func LLDBSBTargetDelete(self LLDBSBTargetRef)
func LLDBSBTargetDeleteAllBreakpoints ¶
func LLDBSBTargetDeleteAllBreakpoints(self LLDBSBTargetRef)
func LLDBSBTargetGetNumModules ¶
func LLDBSBTargetGetNumModules(self LLDBSBTargetRef) uint32
func LLDBSBTargetIsValid ¶
func LLDBSBTargetIsValid(self LLDBSBTargetRef) bool
func LLDBSBThreadDelete ¶
func LLDBSBThreadDelete(self LLDBSBThreadRef)
func LLDBSBThreadGetIndexID ¶
func LLDBSBThreadGetIndexID(self LLDBSBThreadRef) uint32
func LLDBSBThreadGetNumFrames ¶
func LLDBSBThreadGetNumFrames(self LLDBSBThreadRef) uint32
func LLDBSBThreadGetStopReason ¶
func LLDBSBThreadGetStopReason(self LLDBSBThreadRef) int32
func LLDBSBThreadGetThreadID ¶
func LLDBSBThreadGetThreadID(self LLDBSBThreadRef) uint64
func LLDBSBThreadIsValid ¶
func LLDBSBThreadIsValid(self LLDBSBThreadRef) bool
func LLDBSBValueDelete ¶
func LLDBSBValueDelete(self LLDBSBValueRef)
func LLDBSBValueGetName ¶
func LLDBSBValueGetName(self LLDBSBValueRef) string
func LLDBSBValueGetNumChildren ¶
func LLDBSBValueGetNumChildren(self LLDBSBValueRef) uint32
func LLDBSBValueGetSummary ¶
func LLDBSBValueGetSummary(self LLDBSBValueRef) string
func LLDBSBValueGetValue ¶
func LLDBSBValueGetValue(self LLDBSBValueRef) string
func LLDBSBValueIsValid ¶
func LLDBSBValueIsValid(self LLDBSBValueRef) bool
func Load ¶
Load opens the bridge library from path, or from the default search list when path is empty, and binds every symbol.
Loading is otherwise lazy: the first call into this package loads the library. Call Load first only to choose the library or to surface a load failure at a point of your choosing.
Load is idempotent. Calling it again with the same path, or with an empty path, returns nil; calling it with a different path after a successful load returns an error rather than swapping the library underneath live handles. After a failed load, Load retries.
func Loaded ¶
func Loaded() bool
Loaded reports whether the library is open. It never triggers a load.
func Path ¶
func Path() string
Path reports where the library was loaded from, or "" if it is not loaded.
func Require ¶
Require reports whether symbol can be called.
Require loads the bridge if necessary. It returns the bridge load error or a SymbolError when the loaded bridge does not provide symbol. Use Require when a caller needs to distinguish an unavailable bridge from an older bridge; Has intentionally reports both cases as false.
Example ¶
package main
import (
"fmt"
"github.com/tmc/lib/lldb"
)
func main() {
err := lldb.Require("a_symbol_no_lldb_bridge_exports")
fmt.Println(err != nil)
}
Output: true
Types ¶
type LLDBSBBreakpointRef ¶
type LLDBSBBreakpointRef = uintptr
func LLDBSBTargetBreakpointCreateByLocationSimple ¶
func LLDBSBTargetBreakpointCreateByLocationSimple(self LLDBSBTargetRef, file string, line uint32) LLDBSBBreakpointRef
func LLDBSBTargetBreakpointCreateByNameSimple ¶
func LLDBSBTargetBreakpointCreateByNameSimple(self LLDBSBTargetRef, symbol string) LLDBSBBreakpointRef
type LLDBSBDebuggerRef ¶
type LLDBSBDebuggerRef = uintptr
func LLDBSBDebuggerCreateWithInitFiles ¶
func LLDBSBDebuggerCreateWithInitFiles(sourceInitFiles bool) LLDBSBDebuggerRef
type LLDBSBErrorRef ¶
type LLDBSBErrorRef = uintptr
func LLDBSBErrorNew ¶
func LLDBSBErrorNew() LLDBSBErrorRef
func LLDBSBProcessContinue ¶
func LLDBSBProcessContinue(self LLDBSBProcessRef) LLDBSBErrorRef
func LLDBSBProcessDetachSimple ¶
func LLDBSBProcessDetachSimple(self LLDBSBProcessRef) LLDBSBErrorRef
func LLDBSBProcessKill ¶
func LLDBSBProcessKill(self LLDBSBProcessRef) LLDBSBErrorRef
func LLDBSBProcessSignal ¶
func LLDBSBProcessSignal(self LLDBSBProcessRef, signal int32) LLDBSBErrorRef
func LLDBSBProcessStop ¶
func LLDBSBProcessStop(self LLDBSBProcessRef) LLDBSBErrorRef
type LLDBSBFrameRef ¶
type LLDBSBFrameRef = uintptr
func LLDBSBThreadGetFrameAtIndex ¶
func LLDBSBThreadGetFrameAtIndex(self LLDBSBThreadRef, index uint32) LLDBSBFrameRef
type LLDBSBProcessRef ¶
type LLDBSBProcessRef = uintptr
func LLDBSBTargetGetProcess ¶
func LLDBSBTargetGetProcess(self LLDBSBTargetRef) LLDBSBProcessRef
type LLDBSBTargetRef ¶
type LLDBSBTargetRef = uintptr
func LLDBSBDebuggerCreateTargetSimple ¶
func LLDBSBDebuggerCreateTargetSimple(self LLDBSBDebuggerRef, filename string) LLDBSBTargetRef
func LLDBSBDebuggerGetSelectedTarget ¶
func LLDBSBDebuggerGetSelectedTarget(self LLDBSBDebuggerRef) LLDBSBTargetRef
type LLDBSBThreadRef ¶
type LLDBSBThreadRef = uintptr
func LLDBSBProcessGetSelectedThread ¶
func LLDBSBProcessGetSelectedThread(self LLDBSBProcessRef) LLDBSBThreadRef
func LLDBSBProcessGetThreadAtIndex ¶
func LLDBSBProcessGetThreadAtIndex(self LLDBSBProcessRef, index uint32) LLDBSBThreadRef
type LLDBSBValueRef ¶
type LLDBSBValueRef = uintptr
func LLDBSBFrameEvaluateExpressionSimple ¶
func LLDBSBFrameEvaluateExpressionSimple(self LLDBSBFrameRef, expression string) LLDBSBValueRef
func LLDBSBValueGetChildAtIndex ¶
func LLDBSBValueGetChildAtIndex(self LLDBSBValueRef, index uint32) LLDBSBValueRef
type SymbolError ¶
type SymbolError struct {
Symbol string
}
SymbolError reports that a symbol is absent from the loaded library, which happens when the installed version predates it.
func (*SymbolError) Error ¶
func (e *SymbolError) Error() string