mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Make the local callstack more readable.
This commit is contained in:
parent
2a333b8449
commit
1419283a91
@ -3778,9 +3778,14 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
||||
{
|
||||
ImGui::TextDisabled( "%i.", i+1 );
|
||||
ImGui::SameLine();
|
||||
ImGui::Text( "%s", worker.GetString( frame->data[i].name ) );
|
||||
const auto symName = worker.GetString( frame->data[i].name );
|
||||
const auto normalized = view.GetShortenName() != ShortenName::Never ? ShortenZoneName( ShortenName::OnlyNormalize, symName ) : symName;
|
||||
ImGui::Text( "%s", normalized );
|
||||
ImGui::SameLine();
|
||||
ImGui::PushFont( m_smallFont );
|
||||
ImGui::AlignTextToFramePadding();
|
||||
ImGui::TextDisabled( "%s:%i", worker.GetString( frame->data[i].file ), frame->data[i].line );
|
||||
ImGui::PopFont();
|
||||
}
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
|
Loading…
Reference in New Issue
Block a user