diff --git a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp index e9c0234ffa..f4d7db802b 100644 --- a/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp +++ b/Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/Debug/Trace_UnixLike.cpp @@ -38,7 +38,7 @@ namespace AZ { return false; } - for (size_t i = tracerPidOffset; i < numRead; ++i) + for (size_t i = tracerPidOffset + tracerPidString.length(); i < numRead; ++i) { if (!::isspace(processStatusView[i])) {