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

Function debug_frame_write

src/engine/debugger.cpp:213–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static void debug_frame_write( FILE * out, FRAME * frame )
214{
215 string rulename_buffer [ 1 ];
216 OBJECT * fullname = constant_builtin;
217 OBJECT * file = frame->file;
218 if ( file == NULL ) file = constant_builtin;
219 else fullname = make_absolute_path( frame->file );
220 debug_format_rulename( rulename_buffer, frame );
221 debug_object_write( out, file );
222 debug_int_write( out, frame->line );
223 debug_object_write( out, fullname );
224 debug_lol_write( out, frame->args );
225 debug_string_write( out, rulename_buffer->value );
226 object_free( fullname );
227 string_free( rulename_buffer );
228}
229
230/*
231 * The information passed to the debugger for

Callers 1

debug_child_infoFunction · 0.85

Calls 8

make_absolute_pathFunction · 0.85
debug_format_rulenameFunction · 0.85
debug_object_writeFunction · 0.85
debug_int_writeFunction · 0.85
debug_lol_writeFunction · 0.85
debug_string_writeFunction · 0.85
object_freeFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected