MCPcopy Create free account
hub / github.com/SoarGroup/Soar / print_stack_trace

Function print_stack_trace

Core/SoarKernel/src/trace.cpp:1832–1844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830
1831
1832void print_stack_trace(agent* thisAgent, Symbol* object, Symbol* state, int slot_type,
1833 bool allow_cycle_counts)
1834{
1835 growable_string gs;
1836
1837 thisAgent->tf_printing_tc = get_new_tc_number(thisAgent);
1838 gs = selection_to_trace_string(thisAgent, object, state, slot_type, allow_cycle_counts);
1839 print_string(thisAgent, text_of_growable_string(gs));
1840 free_growable_string(thisAgent, gs);
1841
1842 // RPM 5/05
1843 print_stack_trace_xml(thisAgent, object, state, slot_type, allow_cycle_counts);
1844}
1845
1846/* kjh(B1) begin */
1847void print_object_trace_using_provided_format_string(agent* thisAgent,

Callers 1

Calls 6

get_new_tc_numberFunction · 0.85
print_stringFunction · 0.85
text_of_growable_stringFunction · 0.85
free_growable_stringFunction · 0.85
print_stack_trace_xmlFunction · 0.85

Tested by

no test coverage detected