<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="+1"><tt>Hi, Martin.<br>
<br>
I don't know your case with Raspberry, but it sounds very
similar to what I have while remote debugging my ARM target.<br>
To break into running program on the target Linux I send kill
signal to my application (not gdbserver!). This breaks the
gdbserver and stops the application.<br>
Then you can make steps, browse data and so on.<br>
Another way is to set breakpoints.<br>
Stopping application from within the kdevelop doesn't work for
years since version 4+.<br>
Also note that while downloading the application into the
target, kdevelop tool bar works as accessible and not blocked as
it should be.<br>
Also in my case of multitask application, almost always
incorrect task frame is shown as current - I need to choose the
correct one manually. Otherwise any step will cause the program
to do arbitrary things.<br>
<br>
Hope this helps.<br>
</tt></font><br>
<div class="moz-cite-prefix">On 29/04/2020 20:11, Martin Marmsoler
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMhHKZdfCQwUVzooTZf1j_6sbyPoQbdExOE=b7YPqLhAtY40eg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm trying to debug my raspberry pi from my host computer.
I compile the program on my host and copy the file then to the
raspberry pi. With the scripts under the "Remote Debugging"
part in the Launch configuration I am able to start debugging,
but I am not able to stop it. </div>
<div>Due to the stop issue I'm anymore able to copy a new
version of my program to the raspberry and so I'm anymore able
to debug unless I kill the gdbserver.</div>
<div><br>
</div>
<div>Is there a way to close gdbserver with KDevelop? Is this
the correct way to go?</div>
<div><br>
</div>
<div>You can find a full description on stackoverflow:</div>
<div><a
href="https://stackoverflow.com/questions/61458211/debugging-application-on-raspberry-pi-with-kdevelop?noredirect=1#comment108750841_61458211"
moz-do-not-send="true">https://stackoverflow.com/questions/61458211/debugging-application-on-raspberry-pi-with-kdevelop?noredirect=1#comment108750841_61458211</a><br>
</div>
<div><br>
</div>
<div>Cheers and thanks,</div>
<div><br>
</div>
<div>Martin</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dr.Leon M.Pollak
Director
PLR Information Systems Ltd.
Tel.:+972-93731061 | POB 8130, Giborei Israel 5a, Poleg Ind. Zone,
Fax.:+972-98657621 | Netanya, 42504, Israel.
Mob.:+972-544739246 | WWW: <a class="moz-txt-link-abbreviated" href="http://www.plris.com">www.plris.com</a></pre>
</body>
</html>