Depending on the virtual machine used (Dalvik in this case), some code changes may be made during debugging, which will be a hot deployment or a hot swap. This means that code changes will take effect immediately for the emulator, and you can test them without having to redeploy your application. This hot redeployment is more often used when working with enterprise applications, which can take 10 minutes to create and deploy, and therefore spends a lot of time developing.
The HotSpot virtual machine (a virtual machine commonly used on a PC) allows you to simply replace the code and crash if you are trying to add / rename an element or field method. Iām not sure what support Dalvik VM offers, but if you make changes, it will not help, you will get this dialog box.
Now for the buttons:
- Proceed. Accept that your changes will not immediately take effect in the emulator and continue to debug
- Completion: kill the application
- Disconnect: do not kill the application, but end the debugging session (i.e. disable the debugger)
If you check the box, it will always continue.
Gary buyn
source share