MCPcopy Create free account
hub / github.com/boostorg/build / add_breakpoint

Function add_breakpoint

src/engine/debugger.cpp:261–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261static int add_breakpoint( struct breakpoint elem )
262{
263 if ( num_breakpoints == breakpoints_capacity )
264 {
265 int new_capacity = breakpoints_capacity * 2;
266 if ( new_capacity == 0 ) new_capacity = 1;
267 breakpoints = ( struct breakpoint * )realloc( breakpoints, new_capacity * sizeof( struct breakpoint ) );
268 breakpoints_capacity = new_capacity;
269 }
270 breakpoints[ num_breakpoints++ ] = elem;
271 return num_breakpoints;
272}
273
274static int add_line_breakpoint( OBJECT * file, int line )
275{

Callers 2

add_line_breakpointFunction · 0.85
add_function_breakpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected