先来看段儿代码: protected void Page_Load(object sender, EventArgs e){#if DEBUG Response.Write("Debug Information! ");#endif Response.Write("Normal Informatio...
分类:
其他好文 时间:
2014-07-18 21:10:56
阅读次数:
140
开发时,经常用到NSLog,但release是又想一次过清掉all NSLog,方法是:在xxx-Prefix.pch里添加[cpp]view plaincopy#ifdefDEBUG#defineDLog(...)NSLog(__VA_ARGS__)#else#defineDLog(...)/**...
分类:
移动开发 时间:
2014-07-18 21:05:57
阅读次数:
221
这个可以使用下面的方法答案:bin目录;通过应用程序集合AppDomain.CurrentDomain.BaseDirectory:带有"\"System.Environment.CurrentDirectory--F:\BackData\Code\CodeLibrary\CodeLibrary\b...
分类:
其他好文 时间:
2014-07-18 20:09:57
阅读次数:
173
DDMS DDMS(Dalvik Debug Monitor Server)就是动态调试的一个工具(不知Android L之后会不会改名--!)。DDMS提供文件浏览、Logcat、Method Profiling等功能。定位关键代码1.代码注入法用Apktool反编译得到smali,查找onCl....
分类:
移动开发 时间:
2014-07-18 20:02:52
阅读次数:
225
1 #undef DEBUG 2 using Microsoft.Win32; 3 using Newtonsoft.Json; 4 using System; 5 using System.Collections.Generic; 6 using System.Collections...
分类:
其他好文 时间:
2014-07-17 13:05:43
阅读次数:
1221
在Linux 下用CMAKE编译的项目进行Debug 需进行设置:1、在未设置之前 进行调试可能会出现错误报告:No source available for ...等一系列错误,这些错误可能就是你想进行程序Debug,但又未进行设置导致的。首先检查用CMAKE编译时:where is the so...
分类:
其他好文 时间:
2014-07-17 10:09:02
阅读次数:
222
服务器程序DEBUG服务器端设定Tomcat默认我们启动Tomcat是使用下边的命令./catalina.sh start 如果想DEBUG的话,只需要加一个参数打开JPDA(Java Platform Debugger Architecture)就可以了./catalina.sh jpda sta...
分类:
其他好文 时间:
2014-07-16 23:49:34
阅读次数:
494
#include #include typedef struct A{ int a:5; int b:3; unsigned c:8; unsigned d:8;} Type_A;/* VS2010, Windows XP, Debug模式下运行 */int main(void){ struc...
分类:
其他好文 时间:
2014-07-16 16:47:14
阅读次数:
210
1.简单的将日志打印到屏幕import logginglogging.debug('This is debug message')logging.info('This is info message')logging.warning('This is warning message') 屏幕上打印:...
分类:
编程语言 时间:
2014-07-16 14:54:52
阅读次数:
215
jquery.validate remote 和 自定义验证方法$(function(){var validator = $("#enterRegForm").validate({debug:false, //调试模式取消submit的默认提交功能//errorClass: "error",//默认...
分类:
Web程序 时间:
2014-07-16 13:37:49
阅读次数:
277