All Questions
102 questions
1
vote
0
answers
164
views
How to configure Eclipse to debug with docker and gdb?
With following setup:
ubuntu VM, running eclipse C/C++ IDE
ubuntu 16.04 docker container with PTXdist build system and gcc toolchain
source code in VM filesystem mounted to docker container
remote ...
0
votes
1
answer
125
views
Is there a way to automatically resume after the breakpoint updates watch variables in Eclipse debugger?
While I am debugging in eclipse, I have several variables I am watching, and place them in the variables or expressions windows. The problem is, they are not being dynamically updated in real time, ...
3
votes
1
answer
2k
views
I'm currently experiencing an error with GDB debugging on Eclipse MacOS Big Sur
I'm currently having a strange error after installing my GDB through Homebrew on Big Sur. I have configured everything to my Eclipse properly (with my GDB linked as the debugger). However every time I ...
0
votes
1
answer
156
views
ESP32 debugging with only six-pin PROG interface
I have a board with an esp32 on it. It only has the six-pin PROG interface on it and I can program it using an esp-prog board and the PROG interface. But because it does not have a JTAG interface, ...
0
votes
1
answer
1k
views
Eclipse is not able to find sources during debug
I'm building my c/c++ application for arm controllers with gcc in a docker. There together with the .hex and .bin file also the .elf file is generated. Once generated they all are exported out from ...
6
votes
2
answers
2k
views
macOS 10.15 Catalina gdb problem for C++ Debugging in Eclipse
I am using macOS 10.15.2 Catalina and am trying to debug a Hello World C++ program in Eclipse.
I have set up gdb debugger by installing it from Homebrew and signing the certificate by following the ...
0
votes
0
answers
88
views
The program doesn't stop onto breakpoint in eclipse
Eclipse accidently doesn't stop on breakpoint, but output shows that MCU halted at 0x...., seems that the problem between openocd and arm-none-eabi-gdb
Ubuntu 18, openocd 0.10.0 and arm-none-eabi-gdb ...
2
votes
2
answers
4k
views
STM32 blink code only works when stepping on debug mode
I am trying to run a simple blink program on a STM32 board based on STM32F413RG. The led lights up and only toggles when stepping through, not when continuing without breakpoint or running freely on ...
1
vote
0
answers
1k
views
Enable pretty printing in Eclipse C++
I am trying to enable pretty printing for STL in Eclipse. These are my versions:
Eclipse Version: 2018-09 (4.9.0)
gdb 7.11.1
Xubuntu 16.04
gcc 7.4.0
g++ 7.4.0
I have read various guides and this is ...
1
vote
0
answers
285
views
eclipse c++ Mac gdb debugger
macOS Mojave version 10.14, 64-bit
Eclipse version 4.10.0 for C++
GDB version 8.2.1
> Installed GDB with Homebrew.
> created gdb-cert with self signed root, type code signing, override defaults,...
1
vote
0
answers
522
views
Failed to execute MI command -exec-run
I am using eclipse ide. First i got
Cannot run program ".gdb": Launching failed
error but i get rid of this after put the path of arm-none-eabi-gdb.exe
but now i get this error.
Error in final ...
0
votes
1
answer
43
views
Debugging in Eclipse for C program can't find command line argument file
So I'm using Eclipse to debug a program of mine, and I set everything up, and under the arguments tab in the Debug Configuration I have an .in file used in my program. Whenever I try and run "Debug" I ...
7
votes
1
answer
797
views
Debugging OpenJDK source-code with eclipse
in my project i want to debug the C/C++ source code of the OpenJDK version 8 using eclipse. For this purpose I have done following:
Compiled the OpenJDK8 with --with-debug-level=slowdebug using this ...
0
votes
0
answers
267
views
input not working while running in debug mode - eclipse cdt
Standard input works fine when I run my program, but doesn't work when in debugging mode, although output works fine as well.
I'm running Eclipse Photon (4.8) with CDT and for my toolchain I use gcc ...
9
votes
2
answers
7k
views
How to tell gdb/eclipse not to stop on signal xyz
I'm debugging an c++ application under eclipse/gdb/ubuntu.
The Application raises periodically a signal SIGUSR1. (there is an installed sighandler).
On each signal, the debugger suspends the ...