---
title: "eclipse debug报ThreadPoolExecutor$Worker.run() exception"
author: "niuzai"
date: "2012-04-18T09:42:19Z"
tags: []
categories: ["编程语言"]
slug: "eclipse-debug-threadpoolexecutor-worker-run-exception"
draft: false
lastmod: "2012-04-18T09:42:19Z"
id: 1489110
url: "https://andy0807.iteye.com/blog/1489110"
---

eclpise debug 模式的线程经常会停在 ThreadPoolExecutor$Worker.run() 这是因未捕获异常导致的.

Configuring the behavior of Eclipse is straightforward - in the *Preferences* Dialog, the *Debug* pane under *Java* in the tree hierarchy, has the option titled "Suspend execution on uncaught exceptions", which can be unchecked.

打开参数面板,搜索 debug 找到 "Suspend execution on uncaught exceptions" 把前面的勾去掉.

资料地址: http://stackoverflow.com/questions/6290470/eclipse-debugger-always- blocks-on-threadpoolexecutor-without-any-obvious-exception