它可以显示每个调试目标中挂起线程的堆栈框架。
It displays the stack frame for the suspended threads for each target you're debugging.
你现在可以在Debug视图中快速切换挂起线程
You can now quickly switch between suspended threads in the Debug view
您无法知道挂起线程时它正在执行什么代码。
You have no way of knowing what code a thread is executing when you suspend it.
挂起线程和继续进程可能会导致死锁,但这通常不太可能发生。
Suspending threads and resuming the process can cause deadlocks, though it's usually unlikely.
直接挂起线程时,请记住只有从未运行托管代码的线程才能挂起另一个线程。
When you directly suspend threads, remember that only a thread that has never run managed code can suspend another thread.
挂起线程检测工具能在某线程完成请求的时间过长时,自动发出警告,从而帮助诊断挂起或变慢等性能问题。
The hung thread detection facility helps diagnose hanging or slow performance problems by automatically warning when a thread seems to take too long to complete a request.
例如,您可以将线程绑定到给定的处理器,以找出导致某个挂起程序的根源。
For example, you can bind threads to a given processor to find the root cause of a hanging program.
应用使用的线程和进程在输入到达之前会一直挂起,而不管等待了多久。
Both the thread and the process it's using will be held until the input arrives, however long that takes.
这些函数都是可撤销点,并且可能导致在线程环境中产生一个该程序并不期望的挂起信号。
The functions are cancellation points and might cause a pending signal to get delivered in a threaded environment when the program is not expecting it.
工作站模式/并发执行,也叫并发GC-工作流程与非并发GC基本相似,但不会在整个清理周期挂起其他托管线程。
Workstation/Concurrency ON, also called Concurrent GC. – Like in the previous scenario, but the GC does not suspend the managed threads for the entire period when it reclaims unused memory.
线程转储最常见的用途是诊断JVM中出现挂起、崩溃或CPU 占用率过高的原因。
Threads dumps are most commonly used to diagnose the cause of hangs, slowdowns, crashes, or excessive CPU consumption in the JVM.
在并发GC运行的某些阶段,需要将托管线程挂起两次,这可能会花费一些时间。
During a concurrent GC we need to suspend managed threads twice to do some phases of the GC. These phases could possibly take a while to finish.
要在Debug视图中挂起执行线程,选择一个运行线程,单击Debug视图工具栏中的Suspend。
To suspend the execution of threads in the Debug view, select a running thread and click suspend in the Debug view toolbar.
如下所示,当您在Debug视图中展开挂起的线程,并选择GetFlights . jsp时,Variables视图中将出现值。
Once you expand the suspended thread and select GetFlights.jsp in the Debug view as shown below, the Variables view should be populated.
线程转储最常见的用途是诊断 JVM 中出现挂起、变慢、崩溃或CPU 占用率过高的原因。
Thread dumps are most commonly used to diagnose the cause of hangs, slowdowns, crashes, or excessive CPU consumption.
您可能需要进入Debug视图,并选择已经被挂起的线程。
You might need to go to the Debug view and select the thread that has been suspended.
对于这一问题的理想解决方案应该是不引入额外开销,然后在遇到断点时将线程挂起。
An ideal solution for this has no overhead and simply suspends the thread when a breakpoint is hit.
然而,如果调用线程已经存在一个事务,则将此事务挂起,并创建和使用一个新事务。
However, if there is already a transaction on the calling thread, that transaction is suspended, and a new transaction is created and used.
这可能意味着线程由于等待已挂起或停滞了。
This could mean that the thread is hung, or stuck while waiting for something.
通过使用进程关联性来绑定线程或取消线程的绑定,可帮助您找到难以调试的挂起或死锁的根本原因。
Using process affinity Settings to bind or unbind threads can help you find the root cause of hangs or deadlocks that are difficult to debug.
这个函数会挂起调用线程,直到这个信号量有一个非空计数为止。
This function suspends the calling thread until the semaphore has a non-zero count.
然而,当UI线程在睡眠时定时器却保持挂起状态。
Instead, the timer remained in a suspended state while the UI thread was sleeping.
操作在挂起一个线程的时候需要将它换出CPU,而通常此时线程的时间片还没有使用完。
Suspending a thread requires the operating system to swap it out of the CPU often before it's time quantum has been consumed.
GC首先会挂起所有其他的托管线程,然后清理内存,最后再恢复被挂起的托管线程,并交出控制权。
The GC suspends all other managed threads, clears up some memory, resumes the work of the suspended managed threads and returns the control to the original thread.
如果应用程序的运行时间超过了这个指定的挂起阀值,该工具将发出一则提醒线程可能已经挂起的通知。
If your application runs beyond this specifiable hang threshold, a notification will be sent out about the potentially hung thread.
当拥有锁的线程离开临界区的时候,挂起的线程需要被重新唤醒,然后重新被调用,并交换上下文,回到CPU调度中。
When the thread that has the lock leaves the critical section, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.
Win32sleepex函数挂起当前线程,直到下面事件之一发生。
The Win32 SleepEx function suspends the current thread until one of the following occurs.
工作流不会在内存中挂起,不会阻塞线程,也不会在等待输入时耗尽进程。
The workflow doesn't hang around in memory blocking a thread and using up a process while it's waiting for input.
presentationreconciler类根据每次击键更新文本的外观,而Reconciler类运行一个守护线程,不必将用户界面(UI)挂起就能解析该文档。
The PresentationReconciler class updates the text's appearance with every keystroke, and the Reconciler class runs in a daemon thread, parsing the document without holding up the user interface (UI).
应用程序之所以挂起,是因为每个线程都拥有一个类装入器上的锁,并想得到另一个类装入器上的锁,如图2的时间线图所示。
The application hangs because each thread owns a lock on one of the class loaders and wants the lock on the other class loader, as illustrated in the timeline diagram in Figure 2.
应用推荐