<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br>Hi,</div><div><br></div><div>Thank you, really appreciate the quick answer. I'll manage with console.log for now and wait for the next release of the SDK. </div>
<div><br></div><div>Regards,</div><div>David</div><div><br>27 maj 2013 kl. 15:22 skrev Aurindam Jana <<a href="mailto:mail@aurindamjana.in">mail@aurindamjana.in</a>>:<br><br></div><blockquote type="cite"><div><font face="arial" size="1"><p style="margin:0;padding:0">
Hi David,</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Good news and bad news.</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Bad news: The generic gdb will not work on OSX. You need a cross compiled gdb for i386 linux elf.</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Good news: QML debugging is available.</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">We will try to ship a cross compiled gdb with the next release of the SDK. Sorry for the inconvenience.</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Regards,</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Aurindam</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">IRC: auri__ @ freenode</p>
<p style="margin:0;padding:0"><a href="http://www.aurindamjana.in">www.aurindamjana.in</a></p>
<p style="margin:0;padding:0"><br><br>On Sunday, May 26, 2013 21:30, "David Reinhold" <<a href="mailto:david@reinholds.se">david@reinholds.se</a>> said:<br><br></p>
<div id="SafeStyles1369660235">Hi, and thank you for answering fast
<div>Sorry, I didn't explain myself very clear. I downloaded the SDK and tried to debug my project and got an error saying that there was no debugger installed. I tried to Google how to install a debugger for Qt Creator and one tip that I found was to use the gdb-debugger that comes with Xcode. I couldn't set a debugger for the Kit that was installed with the SDK (the Manage-button was disabled) so I cloned the existing Kit and set the Xcode gdb-debugger as the one to use in the clone. Now I get an error saying "Reading debug information failed: <ProjectName>: not in executable format: File format not recognized". I checked the settings under Projects and both C++ and qml debugging are enabled.</div>
<div>When i look under Targets in the SailfishOS menu there are a lot of "something-devel" that I can install. Is there something there that I should install to get it working?</div>
<div>Regards,</div>
<div>David</div>
<div><br>
<div>
<div>
<div>26 maj 2013 kl. 01:21 skrev "Aurindam Jana" <<a href="mailto:mail@aurindamjana.in">mail@aurindamjana.in</a>>:</div>
<br>
<blockquote><span style="font-family:arial;font-size:8pt">
<div style="margin:0px;padding:0px">Hi,</div>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<div style="margin:0px;padding:0px">You need to use the Qt Creator that is shipped with the SailfishOS SDK.</div>
<div style="margin:0px;padding:0px">Make sure that you have selected both QML debugiing and C++ debugging (both are enabled by default for SailfishOS applications)</div>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<div style="margin:0px;padding:0px">Regards,</div>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<div style="margin:0px;padding:0px">Aurindam</div>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<div style="margin:0px;padding:0px">IRC: auri__ @ freenode</div>
<div style="margin:0px;padding:0px"><a href="http://www.aurindamjana.in">www.aurindamjana.in</a></div>
<div style="margin:0px;padding:0px"><br><br>On Saturday, May 25, 2013 23:15, "David Reinhold" <<a href="mailto:david@reinholds.se">david@reinholds.se</a>> said:<br><br></div>
<div id="SafeStyles1369523989">
<div style="margin:0px;padding:0px">> Hi!<br>> Noob question from a .Net developer used to Visual Studio: How do I<br>> debug a sailfish application (qml+javascript) in QT Creator (Mac OS X<br>> 10.8)? I've set gdb (that came with XCode) as the debugger but I get<br>
> an error saying that the file is not recognised as an executable or<br>> something like that (I can give you the exact error message when I get<br>> back to my computer). I can imagine that the Xcode debugger isn't<br>
> really what I should be using but what should I use instead?<br>> <br>> I really would appreciate any pointers here as I have a list if apps<br>> that I want to have on my new phone when it arrives.<br>> <br>
> Regards,<br>> David<br>> _______________________________________________<br>> <a href="http://SailfishOS.org">SailfishOS.org</a> Devel mailing list<br>></div>
</div>
</span></blockquote>
</div>
</div>
</div>
</div></font></div></blockquote></body></html>