|
|
|
|
|
|
Re: how to config debuger for an specific program [message #1749179 is a reply to message #1749129] |
Fri, 02 December 2016 12:40   |
Eclipse User |
|
|
|
Thanks a lot.
Now i have both on Debug information and they can run parallel and i can check line by line each of receiver and sender.
The result of each one (receiver and sender) is shown in separate console. First, I need your confirm that it is correct?
Then, is there any possibility that i can see sender console and receiver console based on the order. I mean for example,
currently, when i am checking sender console (i can use F6 or F5) it shows at 1s, first packet sent, then at 2 s, the seconed packet was sent. Then, i can pause sender debug and resume receiver debug in debugger information and i can check commands (with F6 or F5) in receiver console I can see the first packet arrived in 1.5s and the seconed packet arrived at 2.5s.
what i prefer to see is:
The first packet is sent at 1s from sender ( sender console becomes active) then it goes through receiver console to see at 1.5 s the packet arrived ( receiver console becomes active). Then at 2s next packet sends in sender console ( sender console becomes active) and in 2.5 the second packet is arrived in receiver console ( receiver console becomes active).
I hope that i could explain my question .
Thanks again.
[Updated on: Fri, 02 December 2016 12:41] by Moderator
|
|
|
Re: how to config debuger for an specific program [message #1749190 is a reply to message #1749179] |
Fri, 02 December 2016 15:49  |
Eclipse User |
|
|
|
Glad you got it working.
I don't think there's any way to tie the two consoles together -- at lest not easily or without redesign of your code.
You can have two consoles displayed at the same time though.
Just add another console view.
In my experience, trying to debug and get good timing are mutually exclusive goals.
I would use the debugger to verify that the actions are correct then work on the tiiming some other way.
Maybe with trace messages. YMMV
Good luck!
[Updated on: Fri, 02 December 2016 16:02] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04408 seconds