我正在编写一个简单的Android应用程序。我将“Java EE”透视图更改为“调试”,并在跟踪变量后返回原始透视图(“Java EE”)并停止调试。但是,当我尝试在手机上运行我的应用程序时,它会自动将透视图更改为调试,并跳转到第一个断点。
在调试窗口中,它显示:
正在调试
DalvikVM[localhost:8600]
Thread [<1> main] (Suspended (breakpoint at line 23 in FirstActivity))
FirstActivity.onCreate(Bundle) line: 23
Instrumentation.callActivityOnCreate(Activity, Bundle) line: 1047
ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2627
ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679
ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125
ActivityThread$H.handleMessage(Message) line: 2033
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4627
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 871
ZygoteInit.main(String[]) line: 629
NativeStart.main(String[]) line: not available [native method]
Thread [<7> Binder Thread #2] (Running)
Thread [<6> Binder Thread #1] (Running)
你能帮我解决如何取消调试视图吗?
谢谢。