<div dir="ltr">Hi All,<div><br></div><div>I am trying to remote debug. My code is on 10.11 and my test machine is 10.12, Sierra. I am using Xcode 5 on both machines. I am following below steps for remote debugging:</div><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Test machine</span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">-------------</span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">cd /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources</span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""></span></p><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">./debugserver <a href="http://192.168.116.130:12345">192.168.116.130:12345</a> --attach=408</span></p><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><span style=""><br></span></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">Code build machine</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">—————————————</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">lldb</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">process connect connect://<a href="http://192.168.116.151:12345">192.168.116.151:12345</a></span></p></div><p style="color:rgb(0,0,0);margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">b main.c:8</span></p><div><br></div><div><br></div><div>This works fine if both build and test machines are 10.11 but fails with below error if test machine is 10.12 and build machine is 10.11: </div><div><br></div><div><br></div><div><p style="color:rgb(0,0,0);font-size:11px;font-family:Menlo;margin:0px;line-height:normal"><span style=""> process connect connect://<a href="http://192.168.116.187:12345">192.168.116.187:12345</a></span></p><p style="color:rgb(0,0,0);font-size:11px;font-family:Menlo;margin:0px;line-height:normal"><span style="">Assertion failed: (!"Unhandled architecture in PlatformDarwin::GetSoftwareBreakpointTrapOpcode()"), function GetSoftwareBreakpointTrapOpcode, file /SourceCache/lldb/lldb-300.2.53/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp, line 437.</span></p><div><br></div><div><br></div><div>Any suggestions to fix this?</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Have a nice day!<br>Regards,<br>Dipti<br></div>
</div></div>