You should sample lldb-mi to see what it is doing. Also if you can get a more complete packet log of the traffic between Eclipse and lldb-mi we might be able to see what is going on. Another thing to note: if you are remote debugging to a Mac from another machine and don't have any files cached (all shared libraries from the remote machine), they will be read from memory when the DynamicLoaderMachOSX figures out which shared libraries the process has. This might be slow and take quite a while and it might delay your debugging as you download a few hundred shared libraries for the first time. So you might see long delays as you debug. You might try and wait for a few minutes to see if the process stops correctly after reading everything from memory.
Greg Clayton > On Jul 1, 2016, at 1:13 AM, via lldb-dev <lldb-dev@lists.llvm.org> wrote: > > Hi All, > > I am trying to simple "Hello World" program remotely on a MAC OS using > eclipse and lldb-mi. I followed the instructions available here: > "https://www.codeplay.com/portal/lldb-mi-driver---part-2-setting-up-the-driver". > I am facing below issue. Any suggestions would be of great help. > > It is simple helloWorld C++ program. he program is running on machine A and I > am debugging it from machine B. When I remote debug from command prompt using > lldb-mi, I am able to debug it properly. But when I try to do it via Eclipse > from machine B: > > - lldb-mi is tarting > > - netstat on machine A shows that “debugserver" has ESTABLISHED connection > with machine B. > > - But on Eclipse console it hangs after below command: > > 461,432 (gdb) > > 461,432 22^done,threads=[{id="1",target-id="Thread 1",state="stopped"}] > > 461,432 (gdb) > > 461,434 24-stack-info-depth --thread 1 11 > > If you have any suggestions please let me know. Thanks. > > > > -- > Have a nice day! > Regards, > Dipti > _______________________________________________ > lldb-dev mailing list > lldb-dev@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev