为什么在 Visual Studio 2008 调试器中部分显示字符串? [英] Why strings are shown partially in the Visual Studio 2008 debugger?

查看:18
本文介绍了为什么在 Visual Studio 2008 调试器中部分显示字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS2008 调试 C++ 应用程序,并且通过一些长选择查询,我无法在调试器中看到全文.它只显示查询的一部分.

I'm debugging a C++ application with VS2008 and with some long select queries I'm not able to see the full text in the debugger. It just shows a part of the query.

有没有办法看全文?

提前致谢.

字符串中可用的真正查询是:

The real query available at the string is:

select  c.cd_seq, m.diag_code, m.diag_descr, 'S' as source 
from custom_booking_data c 
left outer join meddiagnosis m 
on c.cd_number_value = convert( decimal( 28, 8 ), m.diag_urn ) 
where c.custom_data_urn = 4 and c.cd_field = 433 
union 
select  c.cd_seq, m.diag_code, m.diag_descr, 'H' as source 
from custom_booking_data c 
left outer join ordiagnosis m 
on c.cd_number_value = convert( decimal( 28, 8 ), m.diag_urn ) 
where c.custom_data_urn = 4 and c.cd_field = 594

如果你问我的话,不会那么久.

Not that long if you ask me.

推荐答案

将鼠标悬停在要查看的变量上,然后单击下面图标的放大镜图标,或选择图标右侧的箭头并从下拉菜单中选择文本

Hover the variable you want to view, then click on the magnifier icon following icon, or select the arrow right to the icon and select Text from the drop down menu

这就是结果,我想你问的是这个...

This is the result, i think you asked this...

这篇关于为什么在 Visual Studio 2008 调试器中部分显示字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆