Skip to content

Fix busestrace not collecting sensor minidumps on boot trace stop#180

Open
murphyryanmicrosoft wants to merge 1 commit intomasterfrom
user/murphyryan/fix-busestrace-boot-minidumps
Open

Fix busestrace not collecting sensor minidumps on boot trace stop#180
murphyryanmicrosoft wants to merge 1 commit intomasterfrom
user/murphyryan/fix-busestrace-boot-minidumps

Conversation

@murphyryanmicrosoft
Copy link
Copy Markdown

Fixing an issue that causes busestrace to not collect sensor minidumps on boot trace stop.

Two bugs prevented minidump collection when stopping a boot session trace:

  1. profileName is not set when the user selects 'Stop Boot Session Trace' from the main menu (it is only set when starting a new trace via the profile selection menu). The profileName gate at CollectDispDiag therefore always fell through to SkipCollectDispDiag, skipping minidump collection entirely. Fixed by also entering CollectDispDiag when profileName is empty (boot trace stop path).

  2. miniDumpCollectionScript used a relative path for the 'if exist' check, so it would fail if the user's current directory differed from the script directory. Fixed by prepending scriptDirectory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant