Debugger Visualizer: Difference between revisions

From EMGU
Jump to navigation Jump to search
mNo edit summary
Line 2: Line 2:
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.  
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 (as shown in Figure 1) 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]] ver >= 2.0 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:
[[Emgu CV]] ver >= 2.0 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:

Revision as of 15:17, 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]

Emgu CV ver >= 2.0 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

Download the Emgu CV binary (ver >= 2.0).

  • 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 it.

Using Debugger Visualizer

Debugger Visualizer for Image

Debugger Visualizer for Image
Debugger Visualizer for Image

Debugger Visualizer for Single Channel matrix

Debugger Visualizer for Single Channel matrix
Debugger Visualizer for Single Channel matrix

Debugger Visualizer for Multi-Channel Matrix

Debugger Visualizer for Multi-Channel Matrix
Debugger Visualizer for Multi-Channel Matrix

References