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

Function debug_mi_break_enable

src/engine/debugger.cpp:1967–1987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1965}
1966
1967static void debug_mi_break_enable( int argc, const char * * argv )
1968{
1969 if ( argc < 2 )
1970 {
1971 debug_mi_error( "Not enough arguments for -break-enable" );
1972 return;
1973 }
1974 for ( --argc, ++argv; argc; --argc, ++argv )
1975 {
1976 const char * inner_argv[ 2 ];
1977 int id = breakpoint_id_parse( *argv );
1978 if ( id == -1 )
1979 {
1980 debug_mi_error( "Not a valid breakpoint" );
1981 return;
1982 }
1983 inner_argv[ 0 ] = "enable";
1984 inner_argv[ 1 ] = *argv;
1985 debug_parent_enable( 2, inner_argv );
1986 }
1987}
1988
1989static void debug_mi_break_disable( int argc, const char * * argv )
1990{

Callers

nothing calls this directly

Calls 3

debug_mi_errorFunction · 0.85
breakpoint_id_parseFunction · 0.85
debug_parent_enableFunction · 0.85

Tested by

no test coverage detected