From 640c3075e68bbcf856011cc234aa8956e2632fe1 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 28 Sep 2021 20:42:24 +0200 Subject: [PATCH] Add deploying `FlaxEditor.pdb` for Development configuration to improve crash reporting --- Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs index 29e17654e..08daf4f6f 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs @@ -208,6 +208,11 @@ namespace Flax.Deploy DeployFiles(src, dstDebug, "*.pdb"); File.Delete(Path.Combine(dstDebug, "FlaxEngine.CSharp.pdb")); File.Delete(Path.Combine(dstDebug, "Newtonsoft.Json.pdb")); + if (configuration == TargetConfiguration.Development) + { + // Deploy Editor executable debug file for Development configuration to improve crash reporting + DeployFile(src, dst, "FlaxEditor.pdb"); + } } else if (Platform.BuildPlatform.Target == TargetPlatform.Linux) {