0
2

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 3 years have passed since last update.

DevToysのコードを見てみる① (デバッグ実行編)

Last updated at Posted at 2022-02-20

はじめに

DevToysは開発に役立つ色々な機能(JSONフォーマッター,Markdownプレビュー,etc...)をまとめたツールです。
開発者は、なんとMicrosoftで「Visual Studio」の開発に関わっている方のようです。
そんな一流エンジニアのコードを理解できれば、色々と得るものがあるのではないかと思い、コードリーディングをしてみようと思いました。
本稿では、コードリーディングの前準備として、githubからDevToysのソースコードを取得しデバッグ実行するところまでやってみます。

前提

  • OS:
    • エディション: Windows 10 Home
    • バージョン: 20H2
    • OS ビルド: 19042.1466
  • Visual Studio 2022 Community

デバッグ実行までの手順

githubからDevToysのソースコードを取得します。

$ git clone https://github.com/veler/DevToys.git

<cloneを実行したフォルダ>/DevToys/ を開きます。

init.cmdを実行します。

<cloneを実行したフォルダ>/DevToys/src/DevToys.slnvisual studio 2022で開きます。

Debug, x64, DevToys.Startupを選択します。
image.png

F5を押下します。

DevToysがデバッグ実行されます。
image.png

おわりに

DevToysは完成度の高いアプリなので、中身を理解することができれば、かなり勉強になるのではと期待しています。
100%理解するのは難しいので、わかる範囲で解析していきたいです。

参考

DevToysは以下からダウンロードできます。githubへのリンクもあります。

DevToysの紹介記事

0
2
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
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?