mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Don't display custom stack frames as pointers.
This commit is contained in:
parent
dc74297439
commit
f6913eecf0
@ -7562,12 +7562,19 @@ void View::DrawCallstackWindow()
|
|||||||
txt = m_worker.GetString( frame.file );
|
txt = m_worker.GetString( frame.file );
|
||||||
if( m_showCallstackFrameAddress )
|
if( m_showCallstackFrameAddress )
|
||||||
{
|
{
|
||||||
ImGui::TextDisabled( "0x%" PRIx64, entry );
|
if( entry.sel == 0 )
|
||||||
if( ImGui::IsItemClicked() )
|
|
||||||
{
|
{
|
||||||
char tmp[32];
|
ImGui::TextDisabled( "0x%" PRIx64, entry.idx );
|
||||||
sprintf( tmp, "0x%" PRIx64, entry );
|
if( ImGui::IsItemClicked() )
|
||||||
ImGui::SetClipboardText( tmp );
|
{
|
||||||
|
char tmp[32];
|
||||||
|
sprintf( tmp, "0x%" PRIx64, entry.idx );
|
||||||
|
ImGui::SetClipboardText( tmp );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ImGui::TextDisabled( "Custom #%" PRIu64, entry.idx );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user