Hello,
I have a small problem. First my envoirement:
Host:
i386, Linux debian, Kernel 3.x, LXDE, C::B,
Application to debug: Multithreaded, multi process (aprox. 10 threads, 2 processes), build with wxWidgets 3.0
In C::B: I copied the local debug Target to a new one what I named Debug Remote. There I setup the options for the remote debugger (IP, Port)
Target:
i386 (VIA CPU, 1GHz), Linux debian, Kernel 4.x, LXDE
Application runs without error - but I will debug some network related functions.
I´ve started gdbserver --debug localhost:2222 Progname
After this I´ve started on the host the debugger in C::B. On the target the programs started now also, because I´ve started with the --debug option I can see the commands in the terminal.
If I set a breakpoint in C::B this was transmitted and the debugger on the targets sets this breakpoint. But nothing happens.
The breakpoints are in an other task as the main-task.
But then I´ve setup a breakpoint in the mainApp.cpp and nothing. The debugger don´t stops at the breakpoints.
Whats my mistake?