如果我在程序中同时运行两个线程并在其中一个上放置一个断点,那么当该断点被命中时,另一个线程是否会停止,或者它是否会继续执行?
(我用Java编写并使用NetBeans)
如果我断点多线程应用程序会发生什么.
它是否会停止所有线程,只是突破的线程或整个程序崩溃?
如果有可能我想停止一个线程或者这会弄乱我的应用程序?
如果我不能突破一个多胎面应用程序,我可以使用哪些调试技术?
我有一个 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)