1、vscode安装插件 C/C++ (ms-vscode.cpptools),安装后运行Run->Start Debugging会出现C++(GDB/LLDB)与C++(Windows) 2、根据rust用的版本,如果用的是x86_64-pc-windows-msvc,调试时选择C++(Windo ...
Qt 开发环境搭建 - Windows+VS2010+VS插件 1、Qt在Windows平台下的三种开发环境 方案 编辑器 编译器 调试器 一 Qt Creator MinGW GDB 二 Qt Creator VisualC++ 编译器 Debugging Tools for Windows 三 ...
平台:OKMX6Q-S2平台(ARMCortex-A9i.MX6Q)环境:Linux一、cmd程序1、编写一个简单地崩溃程序dest.c,如下:#include"stdio.h"intmain(){int*p=NULL;*p=1;//给指针赋值return1;}2、编译arm-fsl-linux-gnueabi-gcc-g-o11dest.c注意:一定要在命令中加上-g参数,这
分类:
数据库 时间:
2020-04-11 22:10:26
阅读次数:
100
GDB "官网" 什么是GDB? GDB是GNU Project调试器,它使您可以查看另一个程序在执行过程中正在执行的操作–或该程序崩溃时正在执行的操作。 GDB可以做四种主要的事情(以及支持这些事情的其他事情)来帮助您捕获行为中的错误: 1. 启动程序,并指定可能影响其行为的所有内容。 2. 使程 ...
分类:
数据库 时间:
2020-04-08 22:56:25
阅读次数:
127
Visual studio调试: 定位代码 缩小调试范围 打断点 不断继续run 查看需要变量值与自己预期结果 判断哪里问题 #include "stdafx.h" #include <stdio.h> #include <string.h> const char* str[] = { "Hello ...
分类:
数据库 时间:
2020-04-06 17:17:09
阅读次数:
80
pwndbg有一个无法找到Python.h的问题。网上是 sudo apt get install libpython3.6 dev 本人尝试,用以下命令查看GDB依赖的PY版本,然后把上面那个命令的3.6替换成相应版本就好了 该版本为python3.8 故 ...
分类:
数据库 时间:
2020-04-05 09:41:07
阅读次数:
428
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https: ...
分类:
数据库 时间:
2020-04-05 00:41:07
阅读次数:
104
基于VSCode的XXX编程语言的构建调试环境搭建指南 ...
分类:
编程语言 时间:
2020-04-02 19:45:20
阅读次数:
71
start #开始调试,停在第一行代码处,(gdb)startl #list的缩写查看源代码,(gdb) l [number/function]b <lines> #b: Breakpoint的简写,设置断点。(gdb) b 10b <func> #b: Breakpoint的简写,设置断点。(gd ...
分类:
数据库 时间:
2020-04-02 16:13:43
阅读次数:
75
http://www.oldlinux.org/Book-Lite/ http://www.oldlinux.org/download/clk011c-3.0.pdf http://oldlinux.org/ linux官方版本 http://draconux.free.fr/os_dev/linu ...
分类:
数据库 时间:
2020-04-01 19:46:00
阅读次数:
82