MCPcopy Create free account
hub / github.com/ElementsProject/lightning / breakpoint

Function breakpoint

ccan/ccan/breakpoint/breakpoint.h:17–23  ·  view source on GitHub ↗

* breakpoint - stop if running under the debugger. */

Source from the content-addressed store, hash-verified

15 * breakpoint - stop if running under the debugger.
16 */
17static inline void breakpoint(void)
18{
19 if (!breakpoint_initialized)
20 breakpoint_init();
21 if (breakpoint_under_debug)
22 kill(getpid(), SIGTRAP);
23}
24#endif /* CCAN_BREAKPOINT_H */

Callers 3

mainFunction · 0.85
peer_fatal_continueFunction · 0.85
status_send_fatalFunction · 0.85

Calls 1

breakpoint_initFunction · 0.85

Tested by 1

mainFunction · 0.68