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

Function debugger

src/engine/debugger.cpp:2600–2614  ·  view source on GitHub ↗

The debugger's main loop. */

Source from the content-addressed store, hash-verified

2598
2599/* The debugger's main loop. */
2600int debugger( void )
2601{
2602 command_array = parent_commands;
2603 command_input = stdin;
2604 if ( debug_interface == DEBUG_INTERFACE_MI )
2605 printf( "=thread-group-added,id=\"i1\"\n(gdb) \n" );
2606 while ( 1 )
2607 {
2608 if ( debug_interface == DEBUG_INTERFACE_CONSOLE )
2609 printf("(b2db) ");
2610 fflush( stdout );
2611 read_command();
2612 }
2613 return 0;
2614}
2615
2616
2617/* Runs the matching command in the current command_array. */

Callers 1

mainFunction · 0.85

Calls 1

read_commandFunction · 0.85

Tested by

no test coverage detected