8
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プロセスにアタッチ

Last updated at Posted at 2017-05-02

プロセスにアタッチとは

プロセスにアタッチを使うことで、デバッグ中のDLLを実行中のプロセスに取りつかせ、DLLのデバッグを行えるようになる。DLLは単独で起動できないため、プロセスにアタッチを使うことでデバッグが容易になる。

やり方

  1. DLLのソリューションを開く。
  2. DLLを呼び出すexeを実行する。
  3. Visual Studioの[デバッグ]メニューの「プロセスにアタッチ」を選択する。
  4. 呼び出すexeを選択し、アタッチを選択する。
  5. DLLのブレークポイントでプログラムを停止できるようになる。

リンク

8
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?