如何调试过程以十进制显示数字变量值,而不是C#中的十六进制 [英] How to Debug process show numeric variable values in Decimal instead of Hex in C#

查看:73
本文介绍了如何调试过程以十进制显示数字变量值,而不是C#中的十六进制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在C#visual studio 2008中制作了一个基于桌面的应用程序.
但是,当我要调试模式时,它会显示基于十六进制(16进制)的数字变量值,但我需要实际的10基本十进制值而不是十六进制值.

我该如何解决这个问题.

任何帮助都在此先感谢

Masud

Hi,

I have made a desk top based application in C# visual studio 2008.
However, when I am going to debug mode it shows numeric variable value in hex(16 decimal) based, but I need actual 10 base decimal value not hex value.

How can I solve this problem.

Any help thanks in advance

Masud

推荐答案

Watch 窗口中右键单击变量,然后禁用十六进制显示. :)
Right click on the variable in Watch window and disable Hexadecimal Display. :)


转到页面底部的监视窗口
标记任何变量,然后单击右键
会在其中显示"pup"选项卡,并选中禁用十六进制显示"错误

用我最好的wh iches
goto watch window in the bottom of your page
mark over any variable then click right
pup tab will appear to you in it check disable Hexadecimal Display false

with my best whiches


这篇关于如何调试过程以十进制显示数字变量值,而不是C#中的十六进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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