六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 177|回复: 0

VS~几个常用的命令

[复制链接]

升级  44.3%

618

主题

618

主题

618

主题

探花

Rank: 6Rank: 6

积分
1886
 楼主| 发表于 2012-12-30 12:02:48 | 显示全部楼层 |阅读模式
<div id="cnblogs_post_body">有时菜单功能不好用时,不如试试VS提交的命名窗口,确实靠的住

以下是选自MSDN的几个常用的命令
1 导入、导出或重置 Visual Studio 设置:
  Tools.ImportandExportSettings [/export:filename | /import:filename | /reset]
2 显示内存的指定范围中的内容:
  Debug.ListMemory [/ANSI|Unicode] [/Count:number] [/Format:formattype] [/Hex|Signed|Unsigned] [expression]
3 显示当前调用堆栈:
  Debug.ListCallStack [/Count:number] [/ShowTypes:yes|no] [/ShowNames:yes|no] [/ShowValues:yes|no] [/ShowModule:yes|no] [/ShowLineOffset:yes|no] [/ShowByteOffset:yes|no] [/ShowLanguage:yes|no] [/IncludeCallsAcrossThreads:yes|no] [/ShowExternalCode:yes|no] [Thread:n] [index]
4 显示选定寄存器的值,使您可以修改要显示的寄存器的列表:
  Debug.ListRegisters [/Display [{register|registerGroup}...]] [/List]  [/Watch [{register|registerGroup}...]]  [/Unwatch [{register|registerGroup}...]]
5 显示当前程序中线程的列表:
  Debug.ListThreads [index]
6 将“命令”窗口的所有输入和输出复制到文件中:
  Tools.LogCommandWindowOutput [filename] [/on|/off] [/overwrite]
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表