How to run TWO applications in Debug mode - both on Eclipse [message #1818792] |
Sat, 28 December 2019 09:35  |
Eclipse User |
|
|
|
I like to verify bluetooth connection between RPi and PC .
The objective is to display data processed by RPi on PC.
A simple verification of (socket) transfer of text message either direction would be perfect.
I am not sure which "side" to call server and which one a client - as far as bluetooth communication goes. At this point I do no need to get stuck in terminology.
Actually I would like to start the tests by setting the bluetooth to local or remote loopback mode.
That seems to be "unknown " to any Internet articles - so far.
In simple terms - can I execute TWO independent copies of Eclipse IDE to run BOTH applications on SINGLE PC - one as TCF application and the other as local ?
|
|
|
|
|
|
Re: How to run TWO applications in Debug mode - both on Eclipse [message #1819181 is a reply to message #1818896] |
Thu, 09 January 2020 10:45  |
Eclipse User |
|
|
|
I would like to reopen this discussion, by describing SPECIFIC example I need assistance with.
I have a client / server application running on Raspberry PI and sending data to PC - via bluetooth.
So far I have it sort of working "one way" , not really sure how, but eventually I'll figure out the set-up details.
"Debug perspective " is sort of doing its job.
My issue is - in order to send data from client I have to have the server code running.
Nothing unusual about that.
And both application run independently as expected.
The "problem " is - it makes debugging a pain .
I have to start / run local C/C++ application and can observe the "console" until the code stops to wait for client.
Then I have to "run" remote / TCF application and like to see the output on the console, but can do without.
What I sometime observe, and again I have not figured out exact setting , is the "server" acknowledges the request and code proceeds as expected.
At that point Eclipse standard console switches back to first C/C++ app and all is well.
Therefore I have two questions to the forum:
can I instructs Eclipse to run first C/C++ and then run the TCF application ?
Even old fashioned bat file woudl probably do, but I have not done one recently.
I did look into "project dependency" and these project are NOT depended on each other code .
Perhaps next time I'll start depended protects from get go, but not this time.
I like to be able to select project specific console and did look into that - tried "pin" console and could not tell which application was being displayed.
I realize this in not run of the mill request , but could use some pointers to find a reasonable solution.
.
|
|
|
Powered by
FUDForum. Page generated in 0.29409 seconds