We are going to use gdb to figure out why the following program causes a segmentation fault. The program is meant to read in a line of text from the u...
分类:
其他好文 时间:
2015-01-22 14:49:41
阅读次数:
133
1 / you can write to stdout for debugging purposes, e.g. 2 // printf("this is a debug message\n"); 3 #include 4 5 int cmp(const void*p1,const void*...
分类:
编程语言 时间:
2015-01-19 01:34:39
阅读次数:
218
记得刚开始学C语言的时候,用vc的F10来调试程序,经常就是一阵狂按,然后一不小心按过了。结果又得从头再来,那时候我就问我的老师,能不能倒退回去几步。我的老师很遗憾地和我说,不行,开弓没有回头箭。这句话至今我还记得,而且,我也是一直这么认为的。 直到今天,才发现GDB竟然有反向调试这个逆天的B...
分类:
数据库 时间:
2015-01-17 16:21:05
阅读次数:
143
Viacommandline$java-Xdebug-agentlib:jdwp=transport=dt_socket,address=9999,server=y,suspend=n-jarstart.jarViastart.ini##Enableremotedebugging--exec-Xdebug-agentlib:jdwp=transport=dt_socket,address=9999,server=y,suspend=n
分类:
其他好文 时间:
2015-01-10 18:32:28
阅读次数:
167
When USB is plugged into the phone, there is a Dialog Window coming out,Here are the debugging infos as below,130|root@:/ # logcat | grep -i MtpServic...
分类:
移动开发 时间:
2015-01-10 13:52:47
阅读次数:
1021
近几年,浏览器厂商也纷纷推出自己的远程调试(RemoteDebugging)工具,比如Opera Mobile 可以借助其推出的跨设备跨平台桌面开发者工具Opera Dragonfly 实现远程调试,iOS Safari 可以开启Web检查器在 Mac OS X系统中实现远程调试。Android 4+已上系统的 Chrome for Android可以 配合 ADB(Android Debug Bridge)实现桌面远程调试,桌面版Chrome 32+已经支持免安装ADB即可实现远程调试移动设备页面/Web...
分类:
移动开发 时间:
2015-01-08 21:39:23
阅读次数:
833
WinDbg配置和使用基础 WinDbg是微软发布的一款相当优秀的源码级(source-level)调试工具,可以用于Kernel模式调试和用户模式调试,还可以调试Dump文件。1. WinDbg介绍:Debugging Tools and Symbols: Getting Startedhttp:...
分类:
数据库 时间:
2015-01-08 15:08:55
阅读次数:
149
http://msdn.microsoft.com/en-us/windows/hardware/hh852365 http://msdn.microsoft.com/library/windows/hardware/ff551063(v=vs.85).aspx
分类:
数据库 时间:
2015-01-08 10:59:00
阅读次数:
242
在线安装Qt后发现使用的是Visual Studio的预编译版,缺少调试器(Debugger),而使用MSVC的Qt对应的原生调试器是CDB(对应MinGW的Qt使用GDB调试器)。本文介绍如何下载安装CDB,并在Qt Creator配置之。
示例环境:XP x86 + Visual Studio 2010 + Qt 5.4.0...