Debugger Visualizer: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
A visualizer is associated with a particular type. Whenever a variable of that type is included in a data window like the Watch window or DataTips, a little magnifying glass will be shown next to its entry. <ref>[http://msdn.microsoft.com/en-us/library/ms379596(VS.80).aspx MSDN, Creating a Debugger Visualizer Using Visual Studio 2005 Beta 2]</ref> | A visualizer is associated with a particular type. Whenever a variable of that type is included in a data window like the Watch window or DataTips, a little magnifying glass will be shown next to its entry. <ref>[http://msdn.microsoft.com/en-us/library/ms379596(VS.80).aspx MSDN, Creating a Debugger Visualizer Using Visual Studio 2005 Beta 2]</ref> | ||
[[Emgu CV | [[Version_History#Emgu.CV-2.0.0.0_Alpha|Version 2.0.0.0 Alpha]] comes with a debugger visualizer for Visual Studio 2005 / 2008 to help you quickly debug your Image Processing application. The visualizer can be used to inspect the following data types: | ||
*Image<TColor, TDepth> | *Image<TColor, TDepth> | ||
Line 11: | Line 11: | ||
== How to Install == | == How to Install == | ||
=== Automatic Installation === | |||
Staring with [[Version_History#Emgu.CV-2.0.0.0_Alpha|Version 2.0.0.0 Alpha]], [[Emgu CV]] comes with a windows installation package. The installation will automatically install the Debugger Visualizer if it finds Visual Studio 2005/2008 on the development machine. | |||
=== Manual Installation === | |||
Manual installation is required if you are using SVN version of [[Emgu CV]], or if you are using Visual Studio 2010. | |||
First you should download the binary of [[Emgu CV]]. Debugger Visualizer is version specific. e.g. You cannot use [[Version_History#Emgu.CV-2.0.1.0|Emgu CV 2.0.1.0]]'s debugger visualizer for [[Version_History#Emgu.CV-2.0.0.0_Alpha|Version 2.0.0.0 Alpha]] development. | |||
* For Visual Studio 2005, copy all the .dll files to <code>C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers</code> | * For Visual Studio 2005, copy all the .dll files to <code>C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers</code> | ||
* For Visual Studio 2008, copy all the .dll files to <code>C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers</code> | * For Visual Studio 2008, copy all the .dll files to <code>C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers</code> | ||
That's | |||
That's all. | |||
== Using Debugger Visualizer == | == Using Debugger Visualizer == | ||
Using Debugger Visualizer is simple. When you are debugging your application, simply click on the Image/Matrix/DenseHistogram you wants to exam, a little magnifying glass will be shown next to its entry. Click on the magnify glass and you can conveniently exam your object as shown below. | |||
=== Debugger Visualizer for Image === | === Debugger Visualizer for Image === | ||
[[image:DebuggerVisualizerImage1.png |center|Debugger Visualizer for Image]] | [[image:DebuggerVisualizerImage1.png |center|Debugger Visualizer for Image]] |
Revision as of 15:30, 14 July 2009
Introduction
Debugger visualizers enable advanced, customized data display while you are running your application under the Visual Studio Debugger. Today's data windows have their limitations; they are text-only, hierarchical, and spatially constrained. They are not the best way to view an image, for example.
A visualizer is associated with a particular type. Whenever a variable of that type is included in a data window like the Watch window or DataTips, a little magnifying glass will be shown next to its entry. [1]
Version 2.0.0.0 Alpha comes with a debugger visualizer for Visual Studio 2005 / 2008 to help you quickly debug your Image Processing application. The visualizer can be used to inspect the following data types:
- Image<TColor, TDepth>
- Matrix<T> class
- DenseHistogram class
How to Install
Automatic Installation
Staring with Version 2.0.0.0 Alpha, Emgu CV comes with a windows installation package. The installation will automatically install the Debugger Visualizer if it finds Visual Studio 2005/2008 on the development machine.
Manual Installation
Manual installation is required if you are using SVN version of Emgu CV, or if you are using Visual Studio 2010.
First you should download the binary of Emgu CV. Debugger Visualizer is version specific. e.g. You cannot use Emgu CV 2.0.1.0's debugger visualizer for Version 2.0.0.0 Alpha development.
- For Visual Studio 2005, copy all the .dll files to
C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers
- For Visual Studio 2008, copy all the .dll files to
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers
That's all.
Using Debugger Visualizer
Using Debugger Visualizer is simple. When you are debugging your application, simply click on the Image/Matrix/DenseHistogram you wants to exam, a little magnifying glass will be shown next to its entry. Click on the magnify glass and you can conveniently exam your object as shown below.
Debugger Visualizer for Image

Debugger Visualizer for Single Channel matrix

Debugger Visualizer for Multi-Channel Matrix
