问题标签 [debuggervisualizer]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
89 浏览

breeze - Breeze.js - is there something like visualizer to examine local entity cache?

I am getting better with Chrome and Firefox debugging tools but I still have not found a way to easily examine the local entity cache managed by Breeze. I can see the data coming over the wire easily but once I am working against the local cache I would like something like the visualizers in VS C# debugging to examine the local data, see added objects, changed objects and the shape of objects when I have extended the metadata.

I have Glimpse installed but that seems only good for the wire traffic. I have an eval of Hibernating Rhinos EF profiler and will install that if there is something in there that will do the trick.

Surely somebody else has wanted this and figured out a visualizer or can just point to someplace in the Chrome or Firebug stuff that I am missing?

0 投票
2 回答
1166 浏览

c# - Visual Studio 调试器如何决定可以使用 Text/XML/HTML Visualizer 查看哪些值?

我注意到,当我在 Visual Studio 的 Watch 窗口中查看某些类型的变量(例如XElement)时,如果我单击 Debug Visualizers 放大镜,则会出现适用于字符串(Text、XML、HTML)的相同可视化工具。我以前从未在任何其他类型上看到过这种情况。调试器如何决定这样做?

编辑:这是 Watch 窗口的屏幕截图,展示了 XElement 可以使用 Text Visualizer 显示,而 System.Version(也实现了 ToString)没有。 在此处输入图像描述

0 投票
0 回答
187 浏览

c++ - Autoexp.dat 和静态数组

我目前正在使用 autoexp.dat 和 natvis 在 Visual Studio 2010 和 Visual Studio 2012 中为我的班级创建调试可视化工具。natvis 一切正常,但 autoexp.dat 有 1 个问题。

当我创建我的类的静态数组时,调试器将我的数组显示为我的类的 1 个实例,而不是我的类的数组。这仅在我编写儿童部分时才会发生。

我的 autoexp.dat :

我的快速程序来显示问题:

这是我在带有子部分的调试器中看到的,没有(抱歉我不能发布图像)。

有:http: //i.stack.imgur.com/LIhEv.jpg 没有:http: //i.stack.imgur.com/QpsNu.jpg

我希望看到我的所有数组,比如没有子部分,但有 a/b 而不是 m_a/m_b。

先感谢您

0 投票
1 回答
265 浏览

c# - 调试二叉树

我写了一个非常原始的二叉树,它工作得很好。问题是,调试很痛苦,实际上查看每个节点包含的内容及其所有子孙非常繁琐。是否有任何可视化工具,以便在调试时获得数据的树状表示?

0 投票
0 回答
91 浏览

java - 调试时如何可视化数据?

我需要检查我的应用程序的一些视觉方面,例如,某些形状是否正确。Eclipse 除了toString(). 所以,我需要回到旧的好的调试钩子。所以,我写了一个独立的类,它显示给定类型的对象,但我仍然不能使用它。如果我把它放在代码中,那么它会在断点时冻结。

是否可以将对象传递到单独的类加载器或 JVM 或其他东西中,以便我可以交互地检查它?

0 投票
1 回答
426 浏览

c++ - 在调试可视化工具中转换为 std::string (autoexp.dat)

我有一个std::string*在字段中存储 a 的类void* data,并且希望 VS2010 的调试器将字符串显示为预览(是的,我需要它是一个 void 指针)。

当我尝试访问 std::string 字段作为起点时,我已经失败了。以下似乎不起作用,Visual Studio 只显示指针data

有什么方法可以做到这一点,或者在任何地方可以找到 autoexp.dat 解析的详细错误消息?

0 投票
0 回答
499 浏览

c++ - 在 Visual Studio 2012 中检查特征矩阵值

我目前正在使用 Visual Studio 2012。我知道为了可视化 Eigen3 库中的矩阵条目,我必须按照此处所述进行操作。但是,当我尝试了其中描述的两种方法时,在 Visual Studio 中调试时仍然无法显示矩阵条目。有没有人有同样的问题,你是如何解决的?谢谢!

0 投票
0 回答
216 浏览

c++ - 如何判断用户是否希望在 EEAddIn 查看器函数中显示十六进制或十进制数字?

我有一个旧的 Visual Studio EEAddin 样式的调试器扩展,旨在获取在运行时已映射到整数的字符串并反转映射,以便在监视窗口中显示原始字符串值。

例如,映射到整数的字符串的显示0x39ad1dc40x39ad1dc4 (Hello, world!).

当我格式化结果的整数部分时,我想尊重调试器的“十六进制显示”标志的设置,但我不确定如何(甚至是否)可以从我的回调中访问该设置。

作为参考,我正在使用的 EEAddin“自定义查看器”回调是:

有人可能认为该base参数会为我提供所需的信息,但在我的测试中10,无论调试器中的 hex-display 选项设置为什么状态,它总是如此。

我可以访问DEBUGHELPER如下所示的 API:

我不得不根据散落在互联网上的示例代码手动定义这个 API;它的文档和任何可能相关的 API 都很难获得。上面的结构和回调类型是我知道的 API 的唯一部分。

有没有办法用这个或一些相关的 API 确定十六进制显示复选框的状态?如有必要,我可以在新的扩展平台中重新编写查看器,只要该平台允许我为本地代码编写扩展。

0 投票
3 回答
12366 浏览

javascript - Disable the debugger statement through the browser

I am trying to style a piece of code that has the debugger keyword in it. I am using the debugging window(IE, FF, Opera) to see CSS style effects but the debugger is stopping every time I refresh the page(as it should).

Can I toggle or disable the debugger keyword through the browser(not by deleting it from my code) so I could do the style I want without it bothering me every time I refresh the page?

Thanks

The debugger statement

0 投票
1 回答
6138 浏览

c# - 无法在 Visual Studio 调试器中查看字典内容

我的代码中有一个 System.Collections.Generic.Dictionary 对象,并试图在 Visual Studio 调试器的断点处停止时查看其内容。.NET 中的 Dictionary 类当然包含键和值的列表。

如果我右键单击加载的对象,并尝试深入了解其内容,我似乎进入了一个无限循环。例如,如果我想查看包含的键,我会展开 Keys 元素,它会显示一个计数,以及另一个名为“非公共成员”的集合。我展开后者,得到另一个字典对象,它有一个 Keys 元素,我可以展开它以获得另一个“count”和“Non-Public members”实例,我可以展开等等:

Visual Studio 调试器中的字典扩展

使用 QuickWatch 给了我相同的结果,那么我如何实际查看对象中包含的键?