简体   繁体   中英

Client/Server UDP Program debugging in Eclipse

I'm trying to debug my Client-Server UDP program to see what it is doing but when I get to the.receive() method (in either the client or the server code) the break point disappears and the step-into/step-over buttons turn gray. What I see next to the.receive() method call is a little white arrow that says "debug call stack" when I hover over it. What exactly is happening?

Has it something to do with the fact that it's a blocking call? If so how do I get past beyond this point?

Your call is blocked on that line, waiting for a read.

You can place another breakpoint right after that specific line. It will break after the receive() is done.

The block is probably native, so you can't really debug it. However, if you never get to the second breakpoint, you know that there is problem;-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM