相关疑难解决方法(0)

断点是否会停止所有线程?

如果我在程序中同时运行两个线程并在其中一个上放置一个断点,那么当该断点被命中时,另一个线程是否会停止,或者它是否会继续执行?

(我用Java编写并使用NetBeans)

java concurrency multithreading netbeans breakpoints

29
推荐指数
2
解决办法
5957
查看次数

断点多线程应用程序

如果我断点多线程应用程序会发生什么.

它是否会停止所有线程,只是突破的线程或整个程序崩溃?

如果有可能我想停止一个线程或者这会弄乱我的应用程序?

如果我不能突破一个多胎面应用程序,我可以使用哪些调试技术?

multithreading breakpoints

8
推荐指数
2
解决办法
5155
查看次数

在主线程中的断点处停止时,几秒钟后 ANR 崩溃(AOSP - RK3288 框)

我有一个 RK3288 盒子,我正在为它开发一个应用程序。

我遇到了一个让我很头疼的问题。我无法调试任何东西。
每次我附加调试器时,当我遇到主线程上的断点时,我的应用程序会在几秒钟后崩溃。以下是发生这种情况时的 logcat:

05-02 20:52:39.734 459-534/system_process I/InputDispatcher: Application is not responding: Window{3026b626 u0 com.kushtrim.playground/com.kushtrim.playground.MainActivity}.  It has been 5001.8ms since event, 5001.6ms since wait started.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 17.  Wait queue head age: 5505.1ms.
05-02 20:52:39.794 459-534/system_process I/WindowManagerService: Input event dispatching timed out sending to com.kushtrim.playground/com.kushtrim.playground.MainActivity.  Reason: Waiting to send non-key event because …
Run Code Online (Sandbox Code Playgroud)

debugging android android-source android-anr-dialog

5
推荐指数
2
解决办法
5438
查看次数