文章分类 -  程序调试问题

上一页 1 2 3 4 5 下一页

逆向验证函数是否存在
摘要: 阅读全文

posted @ 2019-12-25 16:07 lydstory 阅读(90) 评论(0) 推荐(0) 编辑

eclipse debug ctrl+R run to Line
摘要: 阅读全文

posted @ 2019-12-25 12:47 lydstory 阅读(229) 评论(0) 推荐(0) 编辑

Expres查看变量的值
摘要: 阅读全文

posted @ 2019-12-24 17:49 lydstory 阅读(72) 评论(0) 推荐(0) 编辑

解决未定义引用的方法
摘要: 阅读全文

posted @ 2019-12-13 06:40 lydstory 阅读(1131) 评论(0) 推荐(0) 编辑

so库 ubuntu和centos都可以调用
摘要: 阅读全文

posted @ 2019-12-13 00:36 lydstory 阅读(991) 评论(0) 推荐(0) 编辑

调试输出时间
摘要: 阅读全文

posted @ 2019-12-12 14:23 lydstory 阅读(97) 评论(0) 推荐(0) 编辑

extern c
摘要:#ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus }; #endif 注意:如果导出函数不是完整的函数名 就可能是这个问题 函数无法调用 T 代表已实现 U 代表未实现,可能在其它库中实现.这时此库的链接顺序应放在实现此函数的库的前面 阅读全文

posted @ 2019-12-12 00:22 lydstory 阅读(132) 评论(0) 推荐(0) 编辑

eclipse cdt bug??
摘要:gdb单步跟踪 无问题 eclipse cdt 到第二行 F6直接退出 推测是: 修改为string 程序正常调试 const char* 在gdb下可以调试 eclipse cdt 出现内部错误。 阅读全文

posted @ 2019-12-09 14:39 lydstory 阅读(148) 评论(0) 推荐(0) 编辑

vs下编译没有问题,g++下提示错误(pdfium)
摘要:编译器差异,直接if(x == F)就行了 转换为问题: linux g++编译器处理枚举类型的问题 阅读全文

posted @ 2019-12-09 08:41 lydstory 阅读(288) 评论(0) 推荐(0) 编辑

测试速度:zlog输出时间判断
摘要:测试速度:zlog输出时间判断 测试速度:zlog输出时间判断 测试速度:zlog输出时间判断 测试速度:zlog输出时间判断 测试速度:zlog输出时间判断 测试速度:zlog输出时间判断 时间不用自己处理,牛逼的日志 那个没有时间啊 -》不要陷入垃圾技术问题 领导说的可以折中解决 记录时间 用日 阅读全文

posted @ 2019-12-05 16:43 lydstory 阅读(148) 评论(0) 推荐(0) 编辑

生不成pdf文件发现是libfreetype系统环境问题
摘要:libfreetype libpng 安装编译libfreetype 环境问题 libfreetype 安装 服务器环境(被同事搞坏,代码调试,找不到问题) 服务器环境 没有网络 阅读全文

posted @ 2019-12-05 10:30 lydstory 阅读(188) 评论(0) 推荐(0) 编辑

dlopen(conf.libswpdfwatermarkPath, RTLD_LAZY)
摘要:dlopen 失败 返回句柄0x00 问题原因:dlopen 调用的.so文件 内 调用了别的.so库 未找到 可执行程序移到 可运行的 同事 的so 目录下 运行成功 阅读全文

posted @ 2019-12-03 14:19 lydstory 阅读(377) 评论(0) 推荐(0) 编辑

同事问纯虚函数继承编译vtable 未定义
摘要:最后发现:g++ 有接口未定义成== 0 阅读全文

posted @ 2019-11-29 16:23 lydstory 阅读(97) 评论(0) 推荐(0) 编辑

cmake 引用.a
摘要:link_directories(.) link_libraries(libpdf.a) 阅读全文

posted @ 2019-11-29 15:46 lydstory 阅读(1137) 评论(0) 推荐(0) 编辑

curl工具的使用
摘要: 阅读全文

posted @ 2019-11-15 10:32 lydstory 阅读(69) 评论(0) 推荐(0) 编辑

牛逼的多线程调试
摘要: 阅读全文

posted @ 2019-11-15 06:21 lydstory 阅读(99) 评论(0) 推荐(0) 编辑

evpp epoll_wait() 机制
摘要:从调试堆栈中看出实现机制(所谓的逆推) 阅读全文

posted @ 2019-11-15 06:02 lydstory 阅读(181) 评论(0) 推荐(0) 编辑

wireshark 抓取http包
摘要:https://blog.csdn.net/ljfphp/article/details/78575160 tcp port http 过滤器:http and ip.addr == 192.168.5.169 and tcp.port == 8080 阅读全文

posted @ 2019-11-15 04:19 lydstory 阅读(872) 评论(0) 推荐(0) 编辑

在eclipse 中调试多进程linux程序
摘要:在单步fork命令的代码之前, 在debug console输入set follow-fork-mode child就可以接下来步进入子进程。在出子进程时输入 set follow-fork-mode parent步进到父进程。 其中console要选择<xxx> [c/c++ applicatio 阅读全文

posted @ 2019-11-14 13:07 lydstory 阅读(399) 评论(0) 推荐(0) 编辑

gdb threads
摘要: 阅读全文

posted @ 2019-11-12 17:33 lydstory 阅读(73) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示