上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 57 下一页

2018年2月12日

VC++Debug查看堆对象内容,即使符号已经超出作用范围

摘要: Sometimes you'd like to watch the value of an object (on the heap) even after the symbol goes of scope. When that happens, the variable in the Watch w 阅读全文

posted @ 2018-02-12 10:44 我来乔23 阅读(264) 评论(0) 推荐(0)

VC++ Debug产生异常时中断程序执行Break on Exception

摘要: It is possible to instruct the debugger to break when an exception occurs, before a handler is invoked. That allows you to debug your application imme 阅读全文

posted @ 2018-02-12 10:36 我来乔23 阅读(377) 评论(0) 推荐(0)

VS中常用的环境变量

摘要: 环境变量名含义 $(SolutionDir) 解决方案目录:即.sln文件所在路径 $(ProjectDir) 项目根目录:, 即.vcxproj文件所在路径 $(Configuration) 当前的编译配置名称,比如Debug,或Release $(ProjectName) 当前项目名称 $(SolutionName) 解决方案名称 $(OutDir) 项目输出文件... 阅读全文

posted @ 2018-02-12 10:20 我来乔23 阅读(271) 评论(0) 推荐(0)

2018年2月11日

VC++Debug避免F11步进不想要的函数中

摘要: It's often useful to avoid stepping into some common code like constructors or overloaded operators. Many times when you debug the code you probably s 阅读全文

posted @ 2018-02-11 17:49 我来乔23 阅读(255) 评论(0) 推荐(0)

VC++ Debug显示指针所指的array内容

摘要: If you expand a pointer and you only get a single item, just add ",n" to the entry in the watch window where n is the number of elements to expand. Fo 阅读全文

posted @ 2018-02-11 17:32 我来乔23 阅读(317) 评论(0) 推荐(0)

VC++ 在Watch窗口显示GetLastError值以及详细信息

摘要: You can display the value GetLastError() will return by putting "@err" in your watch window. You can see the error message associated with that value 阅读全文

posted @ 2018-02-11 17:22 我来乔23 阅读(451) 评论(0) 推荐(0)

VC++ Debug内存值

摘要: Memory Values If you're using the debug heap, memory is initialized and cleared with special values. Typically MFC automatically adds something like t 阅读全文

posted @ 2018-02-11 17:01 我来乔23 阅读(234) 评论(0) 推荐(0)

VC++ 给你的代码强制加一个硬断点

摘要: 类似与Javascript的 debugger; Hard code a debugger breakpoint If you need to insert a hard breakpoint in your code (perhaps because you need to attach to a 阅读全文

posted @ 2018-02-11 16:57 我来乔23 阅读(544) 评论(0) 推荐(0)

2018年2月9日

wchat_t与char互转

摘要: C++ Code 1234567891011121314151617181920212223242526 //窄字符转宽字符 void ConvertA2W(wchar_t* the_strw, char* the_str, int len)//注意:默认the_strw和the_str有足够长度的 阅读全文

posted @ 2018-02-09 11:56 我来乔23 阅读(812) 评论(0) 推荐(0)

2018年2月7日

使用forever运行nodejs应用

摘要: 何为forever forever可以看做是一个nodejs的守护进程,能够启动,停止,重启我们的app应用。 官方的说明是说: A simple CLI tool for ensuring that a given script runs continuously (i.e. forever). 阅读全文

posted @ 2018-02-07 15:53 我来乔23 阅读(1003) 评论(0) 推荐(0)

上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 57 下一页

导航