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

Function debug_mi_break_disable

src/engine/debugger.cpp:1989–2009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987}
1988
1989static void debug_mi_break_disable( int argc, const char * * argv )
1990{
1991 if ( argc < 2 )
1992 {
1993 debug_mi_error( "Not enough arguments for -break-disable" );
1994 return;
1995 }
1996 for ( --argc, ++argv; argc; --argc, ++argv )
1997 {
1998 const char * inner_argv[ 2 ];
1999 int id = breakpoint_id_parse( *argv );
2000 if ( id == -1 )
2001 {
2002 debug_mi_error( "Not a valid breakpoint" );
2003 return;
2004 }
2005 inner_argv[ 0 ] = "disable";
2006 inner_argv[ 1 ] = *argv;
2007 debug_parent_disable( 2, inner_argv );
2008 }
2009}
2010
2011static void debug_mi_format_breakpoint_header_col( int width, int alignment, const char * col_name, const char * colhdr )
2012{

Callers

nothing calls this directly

Calls 3

debug_mi_errorFunction · 0.85
breakpoint_id_parseFunction · 0.85
debug_parent_disableFunction · 0.85

Tested by

no test coverage detected