lldb-sys 0.0.31

Raw bindings to the LLDB C++ API. LLDB is the debugger that is part of the LLVM project and is the default system debugger on Mac OS X. Building and using this is currently slightly tricky, so be sure to see the README.md in the repository.
Documentation
//===-- SBWatchpointBinding.h -----------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_SBWatchpointBinding_h_
#define LLDB_SBWatchpointBinding_h_

#include "lldb/Bindings/SBBindingDefines.h"

#ifdef __cplusplus
extern "C" {
#endif

LLDB_API SBWatchpointRef CreateSBWatchpoint(void);

LLDB_API SBWatchpointRef CloneSBWatchpoint(SBWatchpointRef instance);

LLDB_API void DisposeSBWatchpoint(SBWatchpointRef instance);

LLDB_API bool SBWatchpointIsValid(SBWatchpointRef instance);

LLDB_API SBErrorRef SBWatchpointGetError(SBWatchpointRef instance);

LLDB_API lldb_watch_id_t SBWatchpointGetID(SBWatchpointRef instance);

LLDB_API int32_t SBWatchpointGetHardwareIndex(SBWatchpointRef instance);

LLDB_API lldb_addr_t SBWatchpointGetWatchAddress(SBWatchpointRef instance);

LLDB_API size_t SBWatchpointGetWatchSize(SBWatchpointRef instance);

LLDB_API void SBWatchpointSetEnabled(SBWatchpointRef instance, bool enabled);

LLDB_API bool SBWatchpointIsEnabled(SBWatchpointRef instance);

LLDB_API uint32_t SBWatchpointGetHitCount(SBWatchpointRef instance);

LLDB_API uint32_t SBWatchpointGetIgnoreCount(SBWatchpointRef instance);

LLDB_API void SBWatchpointSetIgnoreCount(SBWatchpointRef instance, uint32_t n);

LLDB_API const char *SBWatchpointGetCondition(SBWatchpointRef instance);

LLDB_API void SBWatchpointSetCondition(SBWatchpointRef instance,
                                       const char *condition);

LLDB_API bool SBWatchpointGetDescription(SBWatchpointRef instance,
                                         SBStreamRef description,
                                         ENUM(DescriptionLevel) level);

LLDB_API void SBWatchpointClear(SBWatchpointRef instance);

LLDB_API bool SBWatchpointEventIsWatchpointEvent(SBEventRef event);

LLDB_API ENUM(WatchpointEventType)
    SBWatchpointGetWatchpointEventTypeFromEvent(SBEventRef event);

LLDB_API SBWatchpointRef SBWatchpointGetWatchpointFromEvent(SBEventRef event);

#ifdef __cplusplus
}
#endif

#endif // LLDB_SBWatchpointBinding_h_