Остановить отладку в Eclipse

Я недавно установил Eclipse на моем Mac Pro. Раньше я использовал Eclipse в моей книге Mac. Когда я запускаю проект движка приложения на MacBook, он работает нормально. Когда я запускаю его на своем Mac Pro, он попадает в отладчик, где мне приходится несколько раз нажимать кнопку "возобновить", но затем все снова работает хорошо. Я просмотрел настройки отладки и многие другие страницы настроек, но все выглядит так же. Я не помню, чтобы вносил какие-либо изменения в мои настройки MacBook. Код является точной копией на обеих машинах. Что мне здесь не хватает? Какие настройки мне нужно изменить.

Трассировка стека в первом киоске:

Thread [2039077@qtp-7797531-0] (Suspended (exception NullPointerException)) 
Transformer.isRuntimeCode(ProtectionDomain) line: 154   
Transformer.transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) line: 81 
TransformerManager.transform(ClassLoader, String, Class, ProtectionDomain, byte[]) line: 122    
InstrumentationImpl.transform(ClassLoader, String, Class, ProtectionDomain, byte[]) line: 155   
Proxy.defineClass0(ClassLoader, String, byte[], int, int) line: not available [native method]   
Proxy.getProxyClass(ClassLoader, Class<?>...) line: 504 
ClearCast$CasterImpl<S,T>.constructProxy() line: 349    
ClearCast$CasterImpl<S,T>.<init>(Class<S>, Class<T>, Options) line: 313 
ClearCast.compileCaster(Class<S>, Class<T>, Options) line: 219  
ClearCast.cast(S, Class<T>, Options) line: 231  
ClearCast.cast(S, Class<T>) line: 241   
Runtime.<clinit>() line: 32 
FinalizableReferenceQueue.<init>() line: 106    
Interners$WeakInterner<E>.<clinit>() line: 124  
Interners.newWeakInterner() line: 66    
ProtocolSupport.<clinit>() line: 55 
UserServicePb$CreateLoginURLRequest$1(UserServicePb$CreateLoginURLRequest).<init>() line: 259   
UserServicePb$CreateLoginURLRequest$1.<init>() line: 610    
UserServicePb$CreateLoginURLRequest.<clinit>() line: 610    
UserServiceImpl.createLoginURL(String, String, String, Set<String>) line: 54    
UserServiceImpl.createLoginURL(String) line: 42 
login.jsp line: 20  
login_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 97    
login_jsp(HttpServlet).service(ServletRequest, ServletResponse) line: 717   
JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 377   
PrivilegedJspServlet(JspServlet).serviceJspFile(HttpServletRequest, HttpServletResponse, String, Throwable, boolean) line: 313  
PrivilegedJspServlet(JspServlet).service(HttpServletRequest, HttpServletResponse) line: 260 
PrivilegedJspServlet.access$101(PrivilegedJspServlet, HttpServletRequest, HttpServletResponse) line: 23 
PrivilegedJspServlet$2.run() line: 59   
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method] 
PrivilegedJspServlet.service(HttpServletRequest, HttpServletResponse) line: 57  
PrivilegedJspServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 717    
ServletHolder.handle(ServletRequest, ServletResponse) line: 511 
ServletHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 390   
SecurityHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 216  
SessionHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 182   
DevAppEngineWebAppContext(ContextHandler).handle(String, HttpServletRequest, HttpServletResponse, int) line: 765    
DevAppEngineWebAppContext(WebAppContext).handle(String, HttpServletRequest, HttpServletResponse, int) line: 418 
DevAppEngineWebAppContext.handle(String, HttpServletRequest, HttpServletResponse, int) line: 70 
Dispatcher.include(ServletRequest, ServletResponse) line: 192   
JspRuntimeLibrary.include(ServletRequest, ServletResponse, String, JspWriter, boolean) line: 968    
mainHeader.jsp line: 57 
feed_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 97 
feed_jsp(HttpServlet).service(ServletRequest, ServletResponse) line: 717    
JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 377   
PrivilegedJspServlet(JspServlet).serviceJspFile(HttpServletRequest, HttpServletResponse, String, Throwable, boolean) line: 313  
PrivilegedJspServlet(JspServlet).service(HttpServletRequest, HttpServletResponse) line: 260 
PrivilegedJspServlet.access$101(PrivilegedJspServlet, HttpServletRequest, HttpServletResponse) line: 23 
PrivilegedJspServlet$2.run() line: 59   
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available [native method] 
PrivilegedJspServlet.service(HttpServletRequest, HttpServletResponse) line: 57  
PrivilegedJspServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 717    
ServletHolder.handle(ServletRequest, ServletResponse) line: 511 
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1166 
ServeBlobFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 58 
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1157 
TransactionCleanupFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 43    
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1157 
StaticFileFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 122   
ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1157 
ServletHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 388   
SecurityHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 216  
SessionHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 182   
DevAppEngineWebAppContext(ContextHandler).handle(String, HttpServletRequest, HttpServletResponse, int) line: 765    
DevAppEngineWebAppContext(WebAppContext).handle(String, HttpServletRequest, HttpServletResponse, int) line: 418 
DevAppEngineWebAppContext.handle(String, HttpServletRequest, HttpServletResponse, int) line: 70 
JettyContainerService$ApiProxyHandler(HandlerWrapper).handle(String, HttpServletRequest, HttpServletResponse, int) line: 152    
JettyContainerService$ApiProxyHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 349    
Server(HandlerWrapper).handle(String, HttpServletRequest, HttpServletResponse, int) line: 152   
Server.handle(HttpConnection) line: 326 
HttpConnection.handleRequest() line: 542    
HttpConnection$RequestHandler.headerComplete() line: 923    
HttpParser.parseNext() line: 547    
HttpParser.parseAvailable() line: 212   
HttpConnection.handle() line: 404   
SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run() line: 409 
QueuedThreadPool$PoolThread.run() line: 582 

1 ответ

Решение

Вы можете установить точку останова на автоматическую остановку при возникновении исключения. В процессе запуска выдается несколько исключений. Чтобы увидеть, происходит ли это, откройте окно точек останова.

Другие вопросы по тегам