Closed GoogleCodeExporter closed 9 years ago
Alternately, is there a NetBeans plugin that I have overlooked and should be
using here? NetBeans is 7.2 (for completeness).
Original comment by noloa...@gmail.com
on 3 Aug 2012 at 4:42
Netbeans does not have any support for smali files, that I am aware of. I
believe previous versions allowed you to load smali files, and debug them as if
they were java files. But I've heard that doesn't work with newer versions of
netbeans.
Original comment by jesusfreke@jesusfreke.com
on 3 Aug 2012 at 5:37
> I believe previous versions allowed you to load smali files,
> and debug them as if they were java files.
Would you happen to know what verson(s) of NetBeans supports Smali debugging?
Would you happen to know of any projects/initiatives to get Smali support into
NetBeans or other editors (such as plugins)?
Smali is not helpful to me if tools (such as IDEs) can't consume it and I can't
debug it. Sorry to bother you with the request.
Original comment by noloa...@gmail.com
on 3 Aug 2012 at 6:03
I don't. I know there's that youtube video that brut.all made that demonstrates
the capability. You might see if you can identify the version in the video. Or
try a version from around the time the video was made.
I'm not aware of any such project.
What is it that you are wanting to use smali for?
Original comment by jesusfreke@jesusfreke.com
on 3 Aug 2012 at 6:56
> at is it that you are wanting to use smali for?
Blackbox testing, such as live analysis. Its hard to perform a live analysis
when the debugger can't set breakpoints :( I refuse to do the 'printf' thing.
Original comment by noloa...@gmail.com
on 3 Aug 2012 at 10:42
You might try jdb
Original comment by jesusfreke@jesusfreke.com
on 3 Aug 2012 at 10:45
OK, thanks.
From 10,000 feet, what is the solution here? It seems to me there are at least
three pieces in motion - Smali code, IDEs, and Debuggers. Would an ISO
recognized MIME type (perhaps text/x-smali) help? Perhaps a NetBeans plugin
that knows how to handle Smali (how does tat help Eclipse, et al)?
Original comment by noloa...@gmail.com
on 3 Aug 2012 at 11:08
A mimetype is pretty much irrelevant. The current debugging infrastructure
(jdwp) should be sufficient, in combination with bytecode instrumentation of
the dex file, like what apktool does.
The missing piece would be an IDE plugin, for whatever IDE you want to use.
I've briefly experimented with a plugin for IDEA in the past, but haven't had
the motivation to actually get anything going there.
Original comment by jesusfreke@jesusfreke.com
on 4 Aug 2012 at 12:47
I used Apk-tool 1.4.1 and NetBeans 6.8, it works for me:
http://d-kovalenko.blogspot.com/2012/08/debugging-smali-code-with-apk-tool-and.h
tml
Original comment by Dm.O.Kov...@gmail.com
on 27 Aug 2012 at 6:45
Hi Dima,
Can you describe (1) your environment (Linux, x64, Mac OS X Lion, etc), and (2)
your device (make, model, Android version, including jail break status).
I have endured lots of pain and misery from Linux/Windows/Mac OS X and NetBeans
while attempting to re-engineer a live app and my own "crack me." So I have got
to be missing something obvious...
Jeff
Original comment by noloa...@gmail.com
on 27 Aug 2012 at 7:03
Original issue reported on code.google.com by
noloa...@gmail.com
on 3 Aug 2012 at 4:40