1 选择工程的Target -> Build Settings -> Preprocessor Macros.如图,默认 Debug项,是“DEBUG=1”.2 在程序中设置全局宏定义在程序的 ApplicationName-Prefix.pch 文件中,加入如下,很简单12345#ifdef DE...
分类:
移动开发 时间:
2014-08-07 21:36:50
阅读次数:
240
Android的开发也可以归类为嵌入式设备的开发,即便不是嵌入式开发,依然要注意对内存和处理的使用。养成一个好的习惯对自己的帮助是很大的。
在Log的源码中可以看到这样的注释:
The order in terms of verbosity, from least to most is
* ERROR, WARN, INFO, DEBUG, VERBOSE. Verbose should ...
分类:
移动开发 时间:
2014-08-07 19:06:50
阅读次数:
217
To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press Ctrl+B. You may al...
分类:
其他好文 时间:
2014-08-07 12:12:10
阅读次数:
315
下载、编译安装wgethttp://cn2.php.net/distributions/php-5.4.7.tar.gz
tarzvxfphp-5.4.7.tar.gz
cdphp-5.4.7
./configure--prefix=/usr/local/php--enable-fpm--with-mcrypt--enable-mbstring--disable-pdo--with-curl--disable-debug--disable-rpath--enable-inline-opt..
分类:
Web程序 时间:
2014-08-07 07:34:00
阅读次数:
271
游戏引擎熟悉程度cocos2dx 3.x 新增 1.console 很有用的调试工具,可以debug scene的节点结构,fileutil里的信息,模拟触屏点击等.window上需要安装http://joncraton.org/blog/46/netcat-for-windows/来连接2.ev....
分类:
移动开发 时间:
2014-08-07 07:14:49
阅读次数:
218
使用如下命令能够以debug模式安装Oracle Grid并将日志记录到文件[grid@vdb1 11ggrid]$ ./runInstaller -debug > /home/grid/oracle_grid_installer.log
分类:
数据库 时间:
2014-08-07 00:34:17
阅读次数:
414
创建用户之后,使用ssh协议登陆提示失败。useradd -d /home/hdp -m hdp -g dba -s /bin/bash通过命令ssh -v hdp@127.0.0.1 登陆,查看debug日志,没有发现问题。查看linux系统日志:vi /var/log/message看到提示如下...
分类:
其他好文 时间:
2014-08-06 22:35:42
阅读次数:
207
1,编写filter2,在debug模式下build3,注册filter:控制台cd到工程的debug目录下,即欲注册的filter(.ax文件)目录,xx:>regsvr32contrast.ax,提示注册成功,否则请检查4,vs下按F5,出来如下对话框,在可执行文件名称下面选择graphedit...
分类:
其他好文 时间:
2014-08-06 21:47:02
阅读次数:
238
debuggerd 简介
Android系统自带一个实用的程序异常退出的诊断daemon debuggerd。此进程可以侦测到程序崩溃,并将崩溃时的进程状态信息输出到文件和串口中,以供开发人员分析调试使用。Debuggerd的数据被保存在/data/tombstone/目录下,共可保存10个文件,当超过10个时,会覆盖重写最早生产的文件。串口中,则直接用DEBUG的tag,输出logcat信息。...
分类:
移动开发 时间:
2014-08-06 11:54:43
阅读次数:
509
说起来惭愧,自从开始使用Sublime Text之后,再也没有debug过PHP的代码,最近把debug的环境搭建了一下,在这里记录一下。
分类:
Web程序 时间:
2014-08-05 22:11:10
阅读次数:
243