<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Debugging on android</title>
		<link>http://www.allegro.cc/forums/view/617138</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 17 Nov 2017 10:42:32 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I am writing a haptics driver for Allegro5 on android, but ex_haptic crashes on that platform, so I would like to debug it or at least get a stack trace. I found some instructions but they don&#39;t seem to work for me. How do I debug a native android app from the Linux command line?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Thu, 16 Nov 2017 04:28:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not sure if this is what you want, but Android studio has something called &#39;logcat&#39; which is some kind of realtime trace. In Android Studio under Windows, I get to this via a button labelled &#39;Android Monitor&#39;. </p><p>Here are a couple of links talking about logcat under linux. They may be what you already found.....</p><p><a href="https://stackoverflow.com/questions/8633798/how-to-display-logcat-values-in-the-terminal-of-linux">https://stackoverflow.com/questions/8633798/how-to-display-logcat-values-in-the-terminal-of-linux</a></p><p><a href="https://developer.android.com/studio/command-line/logcat.html">https://developer.android.com/studio/command-line/logcat.html</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ian Lewis)</author>
		<pubDate>Fri, 17 Nov 2017 03:17:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, logcat will be the most simple way. You can also run a remote gdb but it will take considerably more effort.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 17 Nov 2017 06:32:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, I didn&#39;t know about logcat. I will try it out and see if I can find out what is causing the crash. Thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Fri, 17 Nov 2017 10:42:32 +0000</pubDate>
	</item>
</rss>
