c++ - In Visual Studio can i plot my variable in breakpoint ? -


In Visual Studio for my original C ++ program, I want to get a plot of some variables during debug. Most of the time, I use the text rendering of objects by editing AutoEXAp Deat. But for some variables, it is better to plot instead of being value in the form of text.

So far I have used a function plot (const void * address, const char * type) , and sent it from instant window So that the variable addresses & amp;

  • The first method is that almost the overloading function is almost never done while calling a function from the debugger (hence I had to type in the form of a second parameter), and the function The call sometimes crashes, though it works perfectly when calling from inside the code.
  • Second, rather than writing the C ++ function for plotting, the I C ++ object without writing a scripting language (such as AutoXP DAT Or VBSScript), so that I can use the script to store data or plot the file or plot.
  • Normally I have some interest like Matlab or Ch IDE , where I can plot some variables outside programs When the debug is on the brake.

    Since VS 2005, is included in Visual Studio, which is designed specifically for you The problem is that MSDN can tell better than this concept:

    Visualizer Visual Studio is a new component of the Debugger user interface, a visualizer creates a dialog box or other interface that allows a variable or an object Can be displayed in a meaningful way Area which is suitable for its data type. For example, an HTML visualizer interprets an HTML string and displays the result because it will appear in a browser window, a bitmap illustrator visualizes the bitmap structure and displays the graphic, and so on. Some visualizers allow you to view and edit the data.

    See the tutorial for writing one.


    Comments