Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Pages: 1
Hi
I am able to build and flash the software. But not able to debug, i googled but didn't find any information.
Can any boy guide me setting up the environment. I am using ubuntu 20.04 . ProxmarkRdv4. VSCode.
Regards
Sampurna
Last edited by sampurna (2022-03-24 10:26:17)
Offline
Resolved the issue by modifying makefile.def as below
CC = gcc -g
CXX = g++ -g
LD = g++ -g
Updated the launch.json file as follows.
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/client/proxmark3",
"args": ["/dev/ttyACM0"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}
Last edited by sampurna (2022-03-24 10:25:31)
Offline
Please close this thread as i have already resolved the issue by following above procedure.
Offline
Pages: 1