Files
UnrealEngineUWP/Engine/Source/Programs/UnrealTraceServer
Martin Ridgers 7ade61a8a1 Only create traces with the store when valid trace data has been detected.
Prior to this change, a trace was registered with the store component before creating the relay that receives data over the socket and writes it to a file. While the relay does check the preamble of the data received, and rejects anything that is not a trace, it does not clean up the store. Now no trace is created until the relay has determined it has a trace to receive data for. This stops zero-sized traces littering a users disk which can happen if the machine is port scanned by their IT department.

#rb im
#rnx
#preflight none

[CL 23246554 by Martin Ridgers in ue5-main branch]
2022-11-23 03:48:46 -05:00
..

Unreal Trace Server

Standalone hub for recording traces from applications and serving them to analyzers (e.g. Unreal Insights).

Building

Windows

  1. Run "Developer Command Prompt for Visual Studio XXXX" from the start menu.
  2. Start a x64 version of the command line by executing VsDevCmd.bat -host_arch=amd64 -arch=amd64
  3. Navigate to this folder
  4. Execute command
    • nmake for building release configuration.
    • nmake /E DEBUG=1 for debug configuration.

Visual Studio solution is provided for convenience. Note that changes that affect Pch.h requires a clean since there is no dependency checking for the precompiled header.

Making a release

Bump TS_VERSION_MINOR so the auto-update mechanisms activate when users receive the newer version.

Windows

  1. Run "Developer Command Prompt for Visual Studio XXXX" from the start menu.
  2. Start a x64 version of the command line by executing VsDevCmd.bat -host_arch=amd64 -arch=amd64
  3. Navigate to this folder
  4. Execute command
    • nmake clean release
  5. In Perforce check in new version of UnrealTraceServer.exe and the corresponding .PDB file.