Repository navigation
fix: skip dynamic analysis with a clear message when the runtime analyzer is missing - #54
Open
Arthurvroum wants to merge 1 commit into
Open
Arthurvroum wants to merge 1 commit into
Arthurvroum wants to merge 1 commit into
Conversation
…yzer is missing The sidebar selects coretrace-runtime-analyzer by default, and the preflight only checked the static tools. On a Mac, whose releases do not include it, ctrace reported "Command not found in PATH: coretrace-runtime-analyzer", which installing the static tools cannot fix. - Before a run with dynamic analysis requested, the extension looks for the runtime analyzer where ctrace does: in its release (libexec), then on PATH (inside WSL on Windows). - Without it, the run goes on with the static tools only, and a warning says why, with a button that turns dynamic analysis off in the sidebar. - With dynamic analysis off, nothing changes. Fixes #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The sidebar selects coretrace-runtime-analyzer by default, and the preflight only checked the static tools. On a Mac, whose releases do not include it, ctrace reported "Command not found in PATH: coretrace-runtime-analyzer", which installing the static tools cannot fix.
Fixes #41