文章分类 -  程序调试问题

上一页 1 2 3 4 5 下一页

so库 gdb跟踪调试
摘要:1.demo动态调用dlopen 添加调试参数 2.so库添加调试参数 debug -->gdb s(step) 一步一步跟踪 阅读全文

posted @ 2020-04-10 00:18 lydstory 阅读(1601) 评论(0) 推荐(0) 编辑

tab键问题:调试思考
摘要:1.给11+家公司提供的sdk调用 配置问题ip地址后面多一个tab键,不能调用?地址错误,空格该谁trim 程序员以写出来别人看不懂的代码为荣吗? 以维护一套系统 永远的错误 永远的公司需要为荣吗? 如果说这就是他妈一堆垃圾,编程思想有没有? 还需要好好熟悉代码逻辑? 阅读全文

posted @ 2020-04-10 00:02 lydstory 阅读(112) 评论(0) 推荐(0) 编辑

flock文件锁和fopen fclose 效率接近
摘要:https://blog.csdn.net/qq_35212671/article/details/53178852 flock文件锁和fopen fclose 效率接近 阅读全文

posted @ 2020-04-08 16:26 lydstory 阅读(277) 评论(0) 推荐(0) 编辑

la yered true
摘要:la yered true 导致一启动 出不了界面 只在任务栏显示 阅读全文

posted @ 2020-04-01 04:50 lydstory 阅读(161) 评论(0) 推荐(0) 编辑

qt vs2010无法进入调试
摘要:调试信息格式设置为:程序数据库 (/Zi) 阅读全文

posted @ 2020-03-30 09:54 lydstory 阅读(238) 评论(0) 推荐(0) 编辑

g++调用.a
摘要: 阅读全文

posted @ 2020-03-27 17:41 lydstory 阅读(315) 评论(0) 推荐(0) 编辑

写入结构体数组长度定义必须足够宽
摘要:struct NetDatInfo { char ServerIP[16]; char Port[8]; char SNCODE[32];//24问题 char token[48]; }; 阅读全文

posted @ 2020-03-26 12:35 lydstory 阅读(146) 评论(0) 推荐(0) 编辑

std::cout崩溃
摘要:printf("%s",cfg.SNCODE); // std::cout<<cfg.SNCODE<<std::endl; 阅读全文

posted @ 2020-03-25 18:23 lydstory 阅读(357) 评论(0) 推荐(0) 编辑

-ldl opencv冲突
摘要:-ldl opencv冲突 -ldl opencv冲突 libs+= .so .so -ldl 添加到最后 一个.pro 就一个libs 就这种问题:居然有同事 解决一,二周 解决不了。暂时搁浅没问题 什么都推来推去 不尝试真是烦了 阅读全文

posted @ 2020-03-20 12:33 lydstory 阅读(230) 评论(0) 推荐(0) 编辑

json源代码的
摘要:m_iSnCode = root["returnString2"].asString() :0 "47" asstring 如果asint崩溃 阅读全文

posted @ 2020-03-11 15:36 lydstory 阅读(113) 评论(0) 推荐(0) 编辑

qtaction 不起作用
摘要:菜单按钮不起作用,信号,槽 代码都没有问题,最后发现public slots: 定义槽的时候 按c++ 类的习惯 直接public 忘记加slots: qt的信号 槽 和c++的类的成员函数 写的时候还是需要注意 阅读全文

posted @ 2020-03-08 15:13 lydstory 阅读(558) 评论(0) 推荐(0) 编辑

错误 1 error MSB6006: “cmd.exe”已退出,代码为 1。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 QtAuditSys
摘要:qrc 资源里面中文件丢失 --》修改对应资源文件路径正确 阅读全文

posted @ 2020-02-27 16:19 lydstory 阅读(1122) 评论(0) 推荐(0) 编辑

ida import
摘要:CreatePipe 提权 进程处理 ida的import也可以分析出来一些dll的实现过程 阅读全文

posted @ 2020-02-19 17:21 lydstory 阅读(365) 评论(0) 推荐(0) 编辑

system("PAUSE")->win7下服务无法启动
摘要:1.服务程序是无法交互的,win7系统,注意 有些系统交互不了 阅读全文

posted @ 2020-02-11 04:05 lydstory 阅读(152) 评论(0) 推荐(0) 编辑

服务程序启动1053错误
摘要:1.因为自己远程调试,启动了system("PAUSE"); 2.选中服务属性中的,允许服务与桌面交互,成功启动(over) 阅读全文

posted @ 2020-02-10 16:47 lydstory 阅读(207) 评论(0) 推荐(0) 编辑

服务程序调试
摘要:https://www.cnblogs.com/tyoyi/p/4269353.html 需要注意的是本地调试的时候,是无法获得ServiceCtrlHandler,必须要在系统服务里直接调用,所以测试打印一定要做好 阅读全文

posted @ 2020-02-10 16:11 lydstory 阅读(110) 评论(0) 推荐(0) 编辑

__cdecl 与 __stdcall
摘要:__cdecl 是C Declaration的缩写(declaration,声明),表示C语言默认的函数调用方法:所有参数从右到左依次入栈,这些参数由调用者清除,称为手动清栈。被调用函数不会要求调用者传递多少参数,调用者传递过多或者过少的参数,甚至完全不同的参数都不会产生编译阶段的错误。 __cde 阅读全文

posted @ 2020-02-08 02:08 lydstory 阅读(182) 评论(0) 推荐(0) 编辑

伟大的ctrl+R
摘要:调试 神技 调试 神技 调试 神技 阅读全文

posted @ 2020-01-19 10:45 lydstory 阅读(91) 评论(0) 推荐(0) 编辑

gn ninja 靠,终于成功了
摘要: 阅读全文

posted @ 2019-12-31 19:11 lydstory 阅读(414) 评论(0) 推荐(0) 编辑

python单步跟踪
摘要:这段时间一直在尝试Python, 目前收集到的单步调试命令如下: python -m pdb test.py 运行后设置断点:b:行号 或 b test.py; 行号 查看断点编号:b 删除断点: cl 编号 单步运行: n 跳到下一个断点:c 查看运行中的参数:p param 查看参数 查看到运行 阅读全文

posted @ 2019-12-31 12:27 lydstory 阅读(531) 评论(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

统计

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