Skip to content

Commit

Permalink
Added 'Context' and a timestamp to UFunction watches
Browse files Browse the repository at this point in the history
  • Loading branch information
UE4SS committed Sep 16, 2023
1 parent 053cccd commit 407c3f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/GUI/LiveView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1912,8 +1912,12 @@ namespace RC::GUI

auto num_params = function->GetNumParms();

StringType buffer{STR("Received call.\n Locals:\n")};
const auto when_as_string = std::format(STR("{:%H:%M:%S}"), std::chrono::system_clock::now());
StringType buffer{std::format(STR("Received call @ {}.\n"), when_as_string)};

buffer.append(std::format(STR(" Context:\n {}\n"), context.Context->GetFullName()));

buffer.append(STR(" Locals:\n"));
bool has_local_params{};
for (const auto& param : function->ForEachProperty())
{
Expand Down

0 comments on commit 407c3f0

Please sign in to comment.