Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Provide better error messages for InstrumentationMethod initialization failure

オープン
#526 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
tooling

調査の方向性

src/InstrumentationEngine.Lib/InstrumentationMethod.cpp の、39 行目付近で報告されている初期化失敗から始め、現在 HRESULT 値がどのように示されているかを調べてください。CORPROF_E_PROFILER_CANCEL_ACTIVATION を含む、該当する無害なエラーコードを特定し、これらの症状と根本原因を区別できるメッセージを提供してください。

索引モデルが issue の本文から書いたものです。

説明

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 https://github.com/microsoft/CLRInstrumentationEngine/blob/2cfa780eb5d71f0b7e2b0ff6d055750020e2d26e/src/InstrumentationEngine.Lib/InstrumentationMethod.cpp#L39

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.

主要言語
C++
スター
104
フォーク
53
平均マージ
3時間 34分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/CLRInstrumentationEngine のほかの issue

microsoft/CLRInstrumentationEngine の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。