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

Function debug_parent_copy_breakpoints

src/engine/debugger.cpp:1068–1095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066}
1067
1068static void debug_parent_copy_breakpoints( void )
1069{
1070 int i;
1071 for ( i = 0; i < num_breakpoints; ++i )
1072 {
1073 fprintf( command_output, "break %s", object_str( breakpoints[ i ].file ) );
1074 if ( breakpoints[ i ].line != -1 )
1075 {
1076 fprintf( command_output, ":%d", breakpoints[ i ].line );
1077 }
1078 fprintf( command_output, "\n" );
1079
1080 switch ( breakpoints[ i ].status )
1081 {
1082 case BREAKPOINT_ENABLED:
1083 break;
1084 case BREAKPOINT_DISABLED:
1085 fprintf( command_output, "disable %d\n", i + 1 );
1086 break;
1087 case BREAKPOINT_DELETED:
1088 fprintf( command_output, "delete %d\n", i + 1 );
1089 break;
1090 default:
1091 assert( !"Wrong breakpoint status." );
1092 }
1093 }
1094 fflush( command_output );
1095}
1096
1097#endif
1098

Callers 1

debug_start_childFunction · 0.85

Calls 1

object_strFunction · 0.85

Tested by

no test coverage detected