SlideShare une entreprise Scribd logo
1  sur  22
Visual Studioで楽しくデバッグ かめがわ かずし/@kkamegawa kkamegawa@clueup.org
Agenda Visual Studio 2010デバッガ デバッガ新機能 IntelliTrace
自己紹介 オンラインでのkkamegawaはほぼ私です(id:kkamegawa,@kkamegawa,MSDN/Technet forum)。 最近は@ITでデバッガ連載しています。Visual Studio デバッグ技法http://www.atmarkit.co.jp/fdotnet/chushin/vsdebug_01/vsdebug_01_01.html 今日はそれを踏まえてデバッガのお話
デバッガの機能差 Express Editionの制限を認識しよう(C++が意外と…)
VS2010機能追加– データヒント デバッガ実行中に変数をピン止めして、デバッグ中でいつでも閲覧可 コメントもかけるよ Import/Exportで共有できるよ
データヒントも便利だけど
IntelliTraceってなに?
IntelliTraceを使うシチュエーションをお楽しみください
ホームズ、大変だ! どうしたんだい、ワトソン君
アプリケーションがクラッシュしちゃったんだよ どういう手順でやったんだい?
それがすごく複雑な手順だったんで、どんな操作したかも覚えてないんだ むぅ、確かに例外が出ているね。いくら私でもこれは少し骨だ。
ど、どうしよう。このバグ入れたまま出荷なんてできないよ! まてよ、君が使っているのはUltimateじゃなかったか?IntelliTraceを使っていなかったのかい?
IntelliTrace?なんだいそれは?確かにUltimate Edition使っているけど… ワトソン君、それなら万事解決だ!IntelliTraceがあればみんなベテランのバグハンターだよ!
そして無事にバグの原因が わかったとさ ちゃんちゃん♪
IntelliTrace – その1 一言でいえば「実行中の記録を全部取りながら実行してくれるすごいやつ」 通常デバッガからの起動で採取されますが、デバッガがなくてもとれます。 手元に環境がないAzureでは特に有効
ちょっぴり注意 – その1 現時点で有効なのは.NET Frameworkのスタンドアロンプログラムくらい 起動済みプロセスへのアタッチ不可(リモートデバッグも不可) Silverlight/Xbox/Windows Mobile/スクリプト言語/SQL CLR開発ではサポートされていない F#は実験的なサポート
でもちょっぴり注意 – その2 32bitのモジュールにしか有効にならない Windows x64 のAnyCPUやx64は不可 x86にした場合、WCFサービスプロジェクトではうまく動かなかった… ホストプロセス(vshost)は使用しないように IntelliTraceのデバッグログがvshostに対して採取されるのでデバッグにならない
デモ AzureのIntelliTrace
クラウドもIntelliTrace Azure SDK 1.2からAzureで生成されたIntelliTraceのファイル(itrace)も読み込めるようになりました。 ログに制限がある~と泣いていた日もちょっと遠くなるかな? Azureは64bitなので、オンプレミス側のVisual Studioでもx64でIntelliTraceサポートしてくれるんじゃないかな(個人的な感想)。
チーム開発でもIntelliTrace IntelliTraceはデバッグ実行だけじゃないよ!真価はチーム開発 Test Managerと組み合わせて、テストシナリオ実行中に起きたクラッシュレポートを開発者にバグとして発行->開発者はIntelliTraceのファイルを開けばその時点からデバッグ開始 し、仕事が…
デモ チーム開発のIntelliTrace
まとめ デバッガ実践というよりはIntelliTrace紹介でしたが、いかがでしょうか? 今のところUltimate Editionにしかないですが、評価版などで使ってみてください。 IntelliTraceは@ITの第二回のVisual Studioデバッグ技法でもご紹介します。

Contenu connexe

En vedette

งาน สารสนเทศ2
งาน สารสนเทศ2งาน สารสนเทศ2
งาน สารสนเทศ2
Naritsa Charoensi
 
Tribological testing regime for establishing ficiency of zddp in presence of ...
Tribological testing regime for establishing ficiency of zddp in presence of ...Tribological testing regime for establishing ficiency of zddp in presence of ...
Tribological testing regime for establishing ficiency of zddp in presence of ...
IAEME Publication
 
Концепция запуска домена .РУС
Концепция запуска домена .РУСКонцепция запуска домена .РУС
Концепция запуска домена .РУС
Webnames.ru
 
Top 10 Learning Questions for Chapter 11
Top 10 Learning Questions for Chapter 11Top 10 Learning Questions for Chapter 11
Top 10 Learning Questions for Chapter 11
Theoi3
 

En vedette (17)

Application insights で行ってみよう
Application insights で行ってみようApplication insights で行ってみよう
Application insights で行ってみよう
 
F.csr on stock markets
F.csr on stock marketsF.csr on stock markets
F.csr on stock markets
 
งาน สารสนเทศ2
งาน สารสนเทศ2งาน สารสนเทศ2
งาน สารสนเทศ2
 
Tribological testing regime for establishing ficiency of zddp in presence of ...
Tribological testing regime for establishing ficiency of zddp in presence of ...Tribological testing regime for establishing ficiency of zddp in presence of ...
Tribological testing regime for establishing ficiency of zddp in presence of ...
 
Changing Shoes
Changing ShoesChanging Shoes
Changing Shoes
 
Scavenger hunt
Scavenger huntScavenger hunt
Scavenger hunt
 
Field Hockey patterns of play 13
Field Hockey patterns of play 13Field Hockey patterns of play 13
Field Hockey patterns of play 13
 
Ple (entorno personal y de aprendizaje)
Ple (entorno personal y de aprendizaje)Ple (entorno personal y de aprendizaje)
Ple (entorno personal y de aprendizaje)
 
Концепция запуска домена .РУС
Концепция запуска домена .РУСКонцепция запуска домена .РУС
Концепция запуска домена .РУС
 
Humanity Children Songs Book
Humanity Children Songs BookHumanity Children Songs Book
Humanity Children Songs Book
 
Mobilizing Private Capital for Public Good
Mobilizing Private Capital for Public GoodMobilizing Private Capital for Public Good
Mobilizing Private Capital for Public Good
 
EM Design Studio
EM Design StudioEM Design Studio
EM Design Studio
 
Incoterms
IncotermsIncoterms
Incoterms
 
Top 10 Learning Questions for Chapter 11
Top 10 Learning Questions for Chapter 11Top 10 Learning Questions for Chapter 11
Top 10 Learning Questions for Chapter 11
 
Публикации на Bigpicture.ru
Публикации на Bigpicture.ruПубликации на Bigpicture.ru
Публикации на Bigpicture.ru
 
Leadership course
Leadership courseLeadership course
Leadership course
 
Does (Affiliate Program) Size Matter?
Does (Affiliate Program) Size Matter?Does (Affiliate Program) Size Matter?
Does (Affiliate Program) Size Matter?
 

Similaire à Visual Studio 2010で楽しくデバッグ

.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
Takayoshi Tanaka
 
blockdiagの最新動向 2011.11 #odstudy
blockdiagの最新動向 2011.11 #odstudyblockdiagの最新動向 2011.11 #odstudy
blockdiagの最新動向 2011.11 #odstudy
Takeshi Komiya
 

Similaire à Visual Studio 2010で楽しくデバッグ (20)

Cod2012 デバッグ講座
Cod2012 デバッグ講座Cod2012 デバッグ講座
Cod2012 デバッグ講座
 
Visual studio de debug
Visual studio de debugVisual studio de debug
Visual studio de debug
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studioの新機能
 
運用管理者のための「開発者からみたDevOps」 - Visual Studio 2015 新機能から考える開発者の取り組み
運用管理者のための「開発者からみたDevOps」 - Visual Studio 2015 新機能から考える開発者の取り組み運用管理者のための「開発者からみたDevOps」 - Visual Studio 2015 新機能から考える開発者の取り組み
運用管理者のための「開発者からみたDevOps」 - Visual Studio 2015 新機能から考える開発者の取り組み
 
Visual Studio を使わず .NET する
Visual Studio を使わず .NET するVisual Studio を使わず .NET する
Visual Studio を使わず .NET する
 
.NET Micro Framework の基礎
.NET Micro Framework の基礎.NET Micro Framework の基礎
.NET Micro Framework の基礎
 
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
.NET Core向けコンテナおよびデバッグ関連のVisual Studio 2019の機能
 
LightSwitchで遊んでみた
LightSwitchで遊んでみたLightSwitchで遊んでみた
LightSwitchで遊んでみた
 
Azure のポータル画面で、AI フレーバな BOT の作成ハンズオン
Azure のポータル画面で、AI フレーバな BOT の作成ハンズオンAzure のポータル画面で、AI フレーバな BOT の作成ハンズオン
Azure のポータル画面で、AI フレーバな BOT の作成ハンズオン
 
Stack2017 自動化困難な状況での活動方法
Stack2017 自動化困難な状況での活動方法Stack2017 自動化困難な状況での活動方法
Stack2017 自動化困難な状況での活動方法
 
C#メタプログラミング概略 in 2021
C#メタプログラミング概略 in 2021C#メタプログラミング概略 in 2021
C#メタプログラミング概略 in 2021
 
blockdiagの最新動向 2011.11 #odstudy
blockdiagの最新動向 2011.11 #odstudyblockdiagの最新動向 2011.11 #odstudy
blockdiagの最新動向 2011.11 #odstudy
 
ToolChainを使った次世代DevOps環境の作り方
ToolChainを使った次世代DevOps環境の作り方ToolChainを使った次世代DevOps環境の作り方
ToolChainを使った次世代DevOps環境の作り方
 
[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用
[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用
[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用
 
Visual Studio 2017 で Azure Functions の開発
Visual Studio 2017 で Azure Functions の開発Visual Studio 2017 で Azure Functions の開発
Visual Studio 2017 で Azure Functions の開発
 
ツール比較しながら語る O/RマッパーとDBマイグレーションの実際のところ
ツール比較しながら語る O/RマッパーとDBマイグレーションの実際のところツール比較しながら語る O/RマッパーとDBマイグレーションの実際のところ
ツール比較しながら語る O/RマッパーとDBマイグレーションの実際のところ
 
scala-kaigi1-sbt
scala-kaigi1-sbtscala-kaigi1-sbt
scala-kaigi1-sbt
 
ETロボコン2020 競技会場システムのおはなし
ETロボコン2020 競技会場システムのおはなしETロボコン2020 競技会場システムのおはなし
ETロボコン2020 競技会場システムのおはなし
 
Dxライブラリテンプレート作成のすすめ
Dxライブラリテンプレート作成のすすめDxライブラリテンプレート作成のすすめ
Dxライブラリテンプレート作成のすすめ
 
使い倒そう Visual Studio Code! ~クラウド連携や遠隔ペアプロ、  もちろん Git も便利に~
使い倒そう Visual Studio Code!~クラウド連携や遠隔ペアプロ、 もちろん Git も便利に~使い倒そう Visual Studio Code!~クラウド連携や遠隔ペアプロ、 もちろん Git も便利に~
使い倒そう Visual Studio Code! ~クラウド連携や遠隔ペアプロ、  もちろん Git も便利に~
 

Plus de Kazushi Kamegawa

Plus de Kazushi Kamegawa (20)

「何もしないのにCIが失敗した」を防ぐ
「何もしないのにCIが失敗した」を防ぐ「何もしないのにCIが失敗した」を防ぐ
「何もしないのにCIが失敗した」を防ぐ
 
Ignite 2021秋 recap - 開発者向け新機能紹介
Ignite 2021秋 recap - 開発者向け新機能紹介Ignite 2021秋 recap - 開発者向け新機能紹介
Ignite 2021秋 recap - 開発者向け新機能紹介
 
Azure boards for beginners
Azure boards for beginnersAzure boards for beginners
Azure boards for beginners
 
Deploy Strategy with Azure Pipelines
Deploy Strategy with Azure PipelinesDeploy Strategy with Azure Pipelines
Deploy Strategy with Azure Pipelines
 
DevOps and compliance and security
DevOps and compliance and securityDevOps and compliance and security
DevOps and compliance and security
 
DevOps and Compliance and Security
DevOps and Compliance and SecurityDevOps and Compliance and Security
DevOps and Compliance and Security
 
Ignite 2021 振り返り(DevOps)
Ignite 2021 振り返り(DevOps)Ignite 2021 振り返り(DevOps)
Ignite 2021 振り返り(DevOps)
 
How to create your own Azure Pipeline's image
How to create your own Azure Pipeline's imageHow to create your own Azure Pipeline's image
How to create your own Azure Pipeline's image
 
NET5 and Diagnostics
NET5 and DiagnosticsNET5 and Diagnostics
NET5 and Diagnostics
 
Azure DevOps入門~TechLab編
Azure DevOps入門~TechLab編Azure DevOps入門~TechLab編
Azure DevOps入門~TechLab編
 
Introduce TFSUG and Azure DevOps Server 2020
Introduce TFSUG and Azure DevOps Server 2020Introduce TFSUG and Azure DevOps Server 2020
Introduce TFSUG and Azure DevOps Server 2020
 
Azure DevOps Online Vol.3 - Inside Azure Pipelines
Azure DevOps Online Vol.3 - Inside Azure PipelinesAzure DevOps Online Vol.3 - Inside Azure Pipelines
Azure DevOps Online Vol.3 - Inside Azure Pipelines
 
Getting Start for Azure Pipelines
Getting Start for Azure PipelinesGetting Start for Azure Pipelines
Getting Start for Azure Pipelines
 
Azure Boards and Azure Test Plans inside out.
Azure Boards and Azure Test Plans inside out.Azure Boards and Azure Test Plans inside out.
Azure Boards and Azure Test Plans inside out.
 
Azure DevOps's security
Azure DevOps's securityAzure DevOps's security
Azure DevOps's security
 
Azure DevOps Management in Organization
Azure DevOps Management in OrganizationAzure DevOps Management in Organization
Azure DevOps Management in Organization
 
What's new Azure DevOps in //Build 2019
What's new Azure DevOps in //Build 2019What's new Azure DevOps in //Build 2019
What's new Azure DevOps in //Build 2019
 
Deploy to Azure by ??? Azure Repos or GitHub
Deploy to Azure by ??? Azure Repos or GitHubDeploy to Azure by ??? Azure Repos or GitHub
Deploy to Azure by ??? Azure Repos or GitHub
 
Azure DevOpsとセキュリティ
Azure DevOpsとセキュリティAzure DevOpsとセキュリティ
Azure DevOpsとセキュリティ
 
What's Azure DevOps
What's Azure DevOpsWhat's Azure DevOps
What's Azure DevOps
 

Dernier

Dernier (10)

LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 

Visual Studio 2010で楽しくデバッグ