<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How-to debug native code with Android	</title>
	<atom:link href="https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Sat, 22 Oct 2022 07:28:30 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Any simple or easy way to debug Android NDK code? - Android Questions - Developers Q &#38; A		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1785</link>

		<dc:creator><![CDATA[Any simple or easy way to debug Android NDK code? - Android Questions - Developers Q &#38; A]]></dc:creator>
		<pubDate>Tue, 23 Jul 2013 01:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1785</guid>

					<description><![CDATA[[...] http://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/ [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] <a href="http://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/" rel="ugc">http://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/</a> [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ivan Leben		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1685</link>

		<dc:creator><![CDATA[Ivan Leben]]></dc:creator>
		<pubDate>Thu, 26 Apr 2012 06:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1685</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1489&quot;&gt;Dhondi Sudhaker&lt;/a&gt;.

Regarding the IncrediBuild installer that pops up: the same thing was happening to me, then I realised I had the IncrediBuild installation folder in my windows PATH environment variable. Inside that folder there is a Install.exe. It just so happens that the ndk-build system has its own command &quot;install&quot; that it calls to copy the output library file to another folder. If your IncrediBuild folder is in front of the ndk (or cygwin) folder in your PATH variable, this will triger the IncrediBuild&#039;s installation instead of what it is actually trying to do.

Long story short: make sure your NDK and Cygwin folders are in front of the IncrediBuild folder in your Windows PATH environment variable.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1489">Dhondi Sudhaker</a>.</p>
<p>Regarding the IncrediBuild installer that pops up: the same thing was happening to me, then I realised I had the IncrediBuild installation folder in my windows PATH environment variable. Inside that folder there is a Install.exe. It just so happens that the ndk-build system has its own command &#8220;install&#8221; that it calls to copy the output library file to another folder. If your IncrediBuild folder is in front of the ndk (or cygwin) folder in your PATH variable, this will triger the IncrediBuild&#8217;s installation instead of what it is actually trying to do.</p>
<p>Long story short: make sure your NDK and Cygwin folders are in front of the IncrediBuild folder in your Windows PATH environment variable.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anatoly Korniltsev		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1640</link>

		<dc:creator><![CDATA[Anatoly Korniltsev]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 16:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1640</guid>

					<description><![CDATA[went throug all the steps and it seems like everything is ok, bu breakpoints does not work...

i get warning: shared library handler failed to enable breakpoint
No symbol table is loaded.  Use the &quot;file&quot; command.

can u help me?]]></description>
			<content:encoded><![CDATA[<p>went throug all the steps and it seems like everything is ok, bu breakpoints does not work&#8230;</p>
<p>i get warning: shared library handler failed to enable breakpoint<br />
No symbol table is loaded.  Use the &#8220;file&#8221; command.</p>
<p>can u help me?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: BlogGuest		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1492</link>

		<dc:creator><![CDATA[BlogGuest]]></dc:creator>
		<pubDate>Fri, 01 Jul 2011 23:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1492</guid>

					<description><![CDATA[The instructions &quot;Now you need to add the native support for the newly created project. Just right click on the project root element in the package explorer and select &#039;add native support&#039; &quot; are wrong. There is no such menu off the project root. You need to select the &quot;Android Tools&quot; menu.]]></description>
			<content:encoded><![CDATA[<p>The instructions &#8220;Now you need to add the native support for the newly created project. Just right click on the project root element in the package explorer and select &#8216;add native support&#8217; &#8221; are wrong. There is no such menu off the project root. You need to select the &#8220;Android Tools&#8221; menu.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dhondi Sudhaker		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1489</link>

		<dc:creator><![CDATA[Dhondi Sudhaker]]></dc:creator>
		<pubDate>Thu, 30 Jun 2011 16:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1489</guid>

					<description><![CDATA[Hi I am looking out for something like this to debug the native code.

but in step 2 after I add the native support for the android project, my project will not compile...
in between it pops up the &quot;IncrediBuild installer&quot; and waits until the installer is quit then again continues and shows the same installed the second time as well then after i cancel the installer it will show an error saying compilation failed.

My question is &quot;Are you using any feature of IncrediBuild from xoreax?&quot;

Below is the log when i compile the example created.


**** Build of configuration Default for project NativeExample ****

bash D:android-ndk-r4-crystaxndk-build V=1 
cygwin warning:
  MS-DOS style path detected: E:Workspace37NativeExample
  Preferred POSIX equivalent is: /cygdrive/e/Workspace37/NativeExample
  CYGWIN environment variable option &quot;nodosfilewarning&quot; turns off this warning.
  Consult the user&#039;s guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/lib*.so /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/lib*.so /cygdrive/e/Workspace37/NativeExample/libs/x86/lib*.so
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/gdbserver /cygdrive/e/Workspace37/NativeExample/libs/x86/gdbserver
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/gdb.setup /cygdrive/e/Workspace37/NativeExample/libs/x86/gdb.setup
Gdbserver      : [arm-eabi-4.4.0] /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi
install -p /cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin//gdbserver /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver
Gdbsetup       : /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi
echo &quot;set solib-search-path /cygdrive/e/Workspace37/NativeExample/obj/local/armeabi&quot; &#062; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup
echo &quot;directory /cygdrive/d/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/include&quot; &#062;&#062; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup
Gdbsetup       : + source directory /cygdrive/e/Workspace37/NativeExample/jni
echo &quot;directory /cygdrive/e/Workspace37/NativeExample/jni&quot; &#062;&#062; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup
Install        : libNativeExample.so =&#062; /cygdrive/e/Workspace37/NativeExample/libs/armeabi
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi
install -p /cygdrive/e/Workspace37/NativeExample/obj/local/armeabi/libNativeExample.so /cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so
/cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin/arm-eabi-strip --strip-debug  /cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so
/cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin/arm-eabi-strip: &#039;/cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so&#039;: No such file
make: *** [/cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so] Error 1

**** Build Finished ****

I observed that the Incredibuild installer is popping up when the &quot;install -p&quot; command is being executed.

Can you please guide me on what is going wrong?

Sudhaker]]></description>
			<content:encoded><![CDATA[<p>Hi I am looking out for something like this to debug the native code.</p>
<p>but in step 2 after I add the native support for the android project, my project will not compile&#8230;<br />
in between it pops up the &#8220;IncrediBuild installer&#8221; and waits until the installer is quit then again continues and shows the same installed the second time as well then after i cancel the installer it will show an error saying compilation failed.</p>
<p>My question is &#8220;Are you using any feature of IncrediBuild from xoreax?&#8221;</p>
<p>Below is the log when i compile the example created.</p>
<p>**** Build of configuration Default for project NativeExample ****</p>
<p>bash D:android-ndk-r4-crystaxndk-build V=1<br />
cygwin warning:<br />
  MS-DOS style path detected: E:Workspace37NativeExample<br />
  Preferred POSIX equivalent is: /cygdrive/e/Workspace37/NativeExample<br />
  CYGWIN environment variable option &#8220;nodosfilewarning&#8221; turns off this warning.<br />
  Consult the user&#8217;s guide for more details about POSIX paths:<br />
    <a href="http://cygwin.com/cygwin-ug-net/using.html#using-pathnames" rel="nofollow ugc">http://cygwin.com/cygwin-ug-net/using.html#using-pathnames</a><br />
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/lib*.so /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/lib*.so /cygdrive/e/Workspace37/NativeExample/libs/x86/lib*.so<br />
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/gdbserver /cygdrive/e/Workspace37/NativeExample/libs/x86/gdbserver<br />
rm -f /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup /cygdrive/e/Workspace37/NativeExample/libs/armeabi-v7a/gdb.setup /cygdrive/e/Workspace37/NativeExample/libs/x86/gdb.setup<br />
Gdbserver      : [arm-eabi-4.4.0] /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver<br />
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi<br />
install -p /cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin//gdbserver /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdbserver<br />
Gdbsetup       : /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup<br />
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi<br />
echo &#8220;set solib-search-path /cygdrive/e/Workspace37/NativeExample/obj/local/armeabi&#8221; &gt; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup<br />
echo &#8220;directory /cygdrive/d/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/include&#8221; &gt;&gt; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup<br />
Gdbsetup       : + source directory /cygdrive/e/Workspace37/NativeExample/jni<br />
echo &#8220;directory /cygdrive/e/Workspace37/NativeExample/jni&#8221; &gt;&gt; /cygdrive/e/Workspace37/NativeExample/libs/armeabi/gdb.setup<br />
Install        : libNativeExample.so =&gt; /cygdrive/e/Workspace37/NativeExample/libs/armeabi<br />
mkdir -p /cygdrive/e/Workspace37/NativeExample/libs/armeabi<br />
install -p /cygdrive/e/Workspace37/NativeExample/obj/local/armeabi/libNativeExample.so /cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so<br />
/cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin/arm-eabi-strip &#8211;strip-debug  /cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so<br />
/cygdrive/d/android-ndk-r4-crystax/build/prebuilt/windows/arm-eabi-4.4.0/bin/arm-eabi-strip: &#8216;/cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so&#8217;: No such file<br />
make: *** [/cygdrive/e/Workspace37/NativeExample/libs/armeabi/libNativeExample.so] Error 1</p>
<p>**** Build Finished ****</p>
<p>I observed that the Incredibuild installer is popping up when the &#8220;install -p&#8221; command is being executed.</p>
<p>Can you please guide me on what is going wrong?</p>
<p>Sudhaker</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tweets that mention How-to debug native code with Android -- Topsy.com		</title>
		<link>https://blog.sephiroth.it/2010/12/14/how-to-debug-native-code-with-android/comment-page-1/#comment-1473</link>

		<dc:creator><![CDATA[Tweets that mention How-to debug native code with Android -- Topsy.com]]></dc:creator>
		<pubDate>Tue, 14 Dec 2010 14:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1416#comment-1473</guid>

					<description><![CDATA[[...] This post was mentioned on Twitter by desmark doon, Alessandro Crugnola. Alessandro Crugnola said: Just published a little guide on how-to debug native multi threaded code with Android http://bit.ly/eW64bm [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] This post was mentioned on Twitter by desmark doon, Alessandro Crugnola. Alessandro Crugnola said: Just published a little guide on how-to debug native multi threaded code with Android <a href="http://bit.ly/eW64bm" rel="nofollow ugc">http://bit.ly/eW64bm</a> [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
