Skip to content

Provide better error messages for InstrumentationMethod initialization failure #526

Description

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions