File tree Expand file tree Collapse file tree
Explorer/Assets/DCL/PerformanceAndDiagnostics/Diagnostics/ReportsHandling/Sentry Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,30 +320,6 @@ private static void Init()
320320
321321 public static Result CollectDumpInfoFile ( string targetDmpPath )
322322 {
323- /*
324- // procdump.exe -accepteula -mt <PID> dump.dmp
325-
326- const string NAME = "procdump/procdump.exe";
327- string exeFile = System.IO.Path.Combine(STREAMING_PATH, NAME);
328-
329- int pid = Process.GetCurrentProcess().Id; // IL2CPP safe
330-
331- string[] exeArgs = new []
332- {
333- "-accepteula",
334- "-mt",
335- pid.ToString(),
336- targetDmpPath,
337- };
338-
339- int result = Plugins.DclNativeProcesses.DclProcesses.ExecuteBlocking(fileName: exeFile, args: exeArgs);
340- if (result != -2) // -2 is a code from procdump
341- {
342- return Result.ErrorResult($"Cannot collect, error process code: {result}");
343- }
344- */
345-
346- // replace to internal minidump call
347323 Result result = MiniDumpNative . CollectSelfMiniDump ( targetDmpPath ) ;
348324 if ( result . Success == false )
349325 {
You can’t perform that action at this time.
0 commit comments