step-into

(Android Studio) How to debug through my code only?

二次信任 提交于 2019-11-27 05:08:00
问题 When I try to debug through my code in Android (using Step Into, F7 command), the debugger takes me through all system classes, which I do not want. For example, when I place a breakpoint at the 2nd line below (i.e. "startActivity(ourIntent);"), instead of going into my Activity (i.e. "myclass), the execution point goes into Activity.java > Instrumentation.java, etc... all system classes. I dont want that. I only want to step through my code that I have written. What is a way to achieve this?

Eclipse step into debugging

馋奶兔 提交于 2019-11-27 03:37:42
问题 I just put eclipse on my laptop, and when I use the Step Into debugging tool, it doesn't just take me to the next part of my code. An example is if I call .size(); on an array list, it will take me into the array list class and through all the code required for .size(); However on my desktop it will simply take me to my next piece of code. I do: System.out.println("hello world!"); If i click "Step Into" on that (from my desktop), hello world will appear the console. To contrast that, if I

Getting rid of “There is no source code available for the current location.”

独自空忆成欢 提交于 2019-11-26 22:49:39
问题 OK, this is my own fault, but I can't seem to rescue myself. Whenever I try to step into a class that has fields with assignments calling into .NET code, I get a dialog box that contains the text "There is no source code available for the current location.": For instance, stepping into the constructor of the following class would give me the above message: public class Test { private Stack<String> _Dummy = new Stack<String>(); public Test() { } } I assume this is because at some point I