title: How to get the disassembly code while debugging android application?
body: <p>When I reverse engineer applications on x86, I can get the x86 assembly code while debugging, e.g. disassemble the opcode pointed by EIP/RIP to x86 assembly. But for android application, I always need some kind of source in advance to make the debugging useful. My question is, instead of doing a disassembly of the apk, can I get the java/smali code of the program that I'll debug in real time? In other words, can the debugger "disassemble" the code on the fly like what it can do on x86? </p>
  
  <p>The reason I want that is because when I use the disassembled code of the APK, I only get the static disassembly code of the program, but what if the method is hooked?</p>