Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better error messages for InstrumentationMethod initialization failure #526

Open
WilliamXieMSFT opened this issue Mar 20, 2023 · 0 comments

Comments

@WilliamXieMSFT
Copy link
Member

Benign errors such as CInstrumentationMethod::Initialize - failed to initialize instrumentation method PID: ### hr: 80131375 name: Production Breakpoint Instrumentation Method appear which represents CORPROF_E_PROFILER_CANCEL_ACTIVATION and is thrown from

_T("CInstrumentationMethod::Initialize - failed to initialize instrumentation method PID: %u, hr: %x, name: %s"),

It would be helpful to provide more useful messages for these error codes so users realize they're a symptom of an issue and not part of the root-cause.

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

No branches or pull requests

1 participant