Debugger Visualizer: Difference between revisions

From EMGU
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== What is it ==
== Introduction ==
According to [http://msdn.microsoft.com/en-us/library/zayyhzts.aspx MSDN]
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. Visualizers enable you to create completely custom views using Windows Forms to best show the data within any managed object.


: ''Visualizers are a new component of the Visual Studio debugger user interface. A visualizer creates a dialog box or other interface to displays a variable or object in a meaningful way that is appropriate to its data type.''
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. [http://msdn.microsoft.com/en-us/library/ms379596(VS.80).aspx (MSDN)]


[[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 Image and Matrix class during debug.
[[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 Image and Matrix class during debug.  


== How to Install ==
== How to Install ==

Revision as of 21:33, 8 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. Visualizers enable you to create completely custom views using Windows Forms to best show the data within any managed object.

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. (MSDN)

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 Image and Matrix class during debug.

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