SlideShare a Scribd company logo
Visual Studioで楽しくデバッグかめがわ かずし/@kkamegawakkamegawa@clueup.org
AgendaVisual 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#は実験的なサポート
でもちょっぴり注意 – その232bitのモジュールにしか有効にならないWindows x64 のAnyCPUやx64は不可x86にした場合、WCFサービスプロジェクトではうまく動かなかった…ホストプロセス(vshost)は使用しないようにIntelliTraceのデバッグログがvshostに対して採取されるのでデバッグにならない
デモAzureのIntelliTrace
クラウドもIntelliTraceAzure SDK 1.2からAzureで生成されたIntelliTraceのファイル(itrace)も読み込めるようになりました。ログに制限がある~と泣いていた日もちょっと遠くなるかな?Azureは64bitなので、オンプレミス側のVisual Studioでもx64でIntelliTraceサポートしてくれるんじゃないかな(個人的な感想)。
チーム開発でもIntelliTraceIntelliTraceはデバッグ実行だけじゃないよ!真価はチーム開発Test Managerと組み合わせて、テストシナリオ実行中に起きたクラッシュレポートを開発者にバグとして発行->開発者はIntelliTraceのファイルを開けばその時点からデバッグ開始し、仕事が…
デモチーム開発のIntelliTrace
まとめデバッガ実践というよりはIntelliTrace紹介でしたが、いかがでしょうか?今のところUltimate Editionにしかないですが、評価版などで使ってみてください。IntelliTraceは@ITの第二回のVisual Studioデバッグ技法でもご紹介します。

More Related Content

PDF
Visual studio 2013 debugging
PDF
GUI Test is (not) necessary
PDF
Visual Studio 2012 Native Debugger Feature
PDF
VDMX_WS20160227
PDF
VDMX_WS20160214
PDF
JavaOne2013報告会 JavaFX Update
PPTX
FriendlyによるWindowsアプリテスト自動化手法 基礎技術編
PPTX
Visual studio 2013 debugging
GUI Test is (not) necessary
Visual Studio 2012 Native Debugger Feature
VDMX_WS20160227
VDMX_WS20160214
JavaOne2013報告会 JavaFX Update
FriendlyによるWindowsアプリテスト自動化手法 基礎技術編

Viewers also liked (17)

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

More from Kazushi Kamegawa (20)

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

Visual Studio 2010で楽しくデバッグ