• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: eclipse debugging help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eclipse debugging help


  • Subject: Re: eclipse debugging help
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 22 Oct 2008 12:10:56 -0400

James,

A bit more info might be necessary to resolve this...

Your app hangs? As in it deadlocks? Or as in takes a seemingly unnecessary amount of time to compute something? How did you obtain the stack below, was an exception thrown, or did you manually suspend the worker thread and copy it? What are other threads in your app doing? How reproducible is this? What kind of an object is being formatted?

If it is a deadlock, and your worker thread stops for seemingly no reason at NSTimestampFormater.format(...), it could be that either the method or a block in it is synchronized and waiting for something to release the lock.

F

On Oct 21, 2008, at 14:25, james o'loughlin wrote:


i'm pulling my hair out sometime trying to find my errors. my app hangs and this stack doesn't do me much good. i see PageViewer is the last component my app talked to and then i can't find nuttin'...


can someone please push or shove me in the right direction to use eclipse to debug my apps? most of the time eclipse will tell me the .java file and line # of the error.

thanks,
./james

stack:
NSTimestampFormatter.format(Object, StringBuffer, FieldPosition) line: 642
NSTimestampFormatter(Format).format(Object) line: 133
WOString.appendToResponse(WOResponse, WOContext) line: 65
WOGenericContainer(WODynamicGroup).appendChildrenToResponse (WOResponse, WOContext) line: 126
WOGenericContainer.appendToResponse(WOResponse, WOContext) line: 44
WOGenericContainer(WODynamicGroup).appendChildrenToResponse (WOResponse, WOContext) line: 126
WOGenericContainer.appendToResponse(WOResponse, WOContext) line: 44
WOConditional(WODynamicGroup).appendChildrenToResponse(WOResponse, WOContext) line: 126
WOConditional.appendToResponse(WOResponse, WOContext) line: 94
WOConditional(WODynamicGroup).appendChildrenToResponse(WOResponse, WOContext) line: 126
WOConditional.appendToResponse(WOResponse, WOContext) line: 94
WODynamicGroup.appendChildrenToResponse(WOResponse, WOContext) line: 126
WODynamicGroup.appendToResponse(WOResponse, WOContext) line: 136
PageViewer(WOComponent).appendToResponse(WOResponse, WOContext) line: 1122
Session(WOSession).appendToResponse(WOResponse, WOContext) line: 1385
WOApplication.appendToResponse(WOResponse, WOContext) line: 1794
WOComponentRequestHandler._dispatchWithPreparedPage(WOComponent, WOSession, WOContext, NSDictionary) line: 242
WOComponentRequestHandler._dispatchWithPreparedSession(WOSession, WOContext, NSDictionary) line: 298
WOComponentRequestHandler._dispatchWithPreparedApplication (WOApplication, WOContext, NSDictionary) line: 332
WOComponentRequestHandler._handleRequest(WORequest) line: 369
WOComponentRequestHandler.handleRequest(WORequest) line: 442
WOApplication.dispatchRequest(WORequest) line: 1687
WOWorkerThread.runOnce() line: 144
WOWorkerThread.run() line: 226
Thread.run() line: 613




-----

owns: java.lang.Object (id=81)
com.webobjects.foundation.NSTimestampFormatter.format (java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition) line: 642
com.webobjects.foundation.NSTimestampFormatter (java.text.Format).format(java.lang.Object) line: 133
com.webobjects.appserver._private.WOString.appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 65
com.webobjects.appserver._private.WOGenericContainer (com.webobjects.appserver._private.WODynamicGroup).appendChildrenToRes ponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 126
com.webobjects.appserver._private.WOGenericContainer.appendToResponse( com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 44
com.webobjects.appserver._private.WOGenericContainer (com.webobjects.appserver._private.WODynamicGroup).appendChildrenToRes ponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 126
com.webobjects.appserver._private.WOGenericContainer.appendToResponse( com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 44
com.webobjects.appserver._private.WOConditional (com.webobjects.appserver._private.WODynamicGroup).appendChildrenToRes ponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 126
com.webobjects.appserver._private.WOConditional.appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 94
com.webobjects.appserver._private.WOConditional (com.webobjects.appserver._private.WODynamicGroup).appendChildrenToRes ponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 126
com.webobjects.appserver._private.WOConditional.appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 94
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespo nse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 126
com.webobjects.appserver._private.WODynamicGroup.appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 136
PageViewer(com.webobjects.appserver.WOComponent).appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 1122
Session(com.webobjects.appserver.WOSession).appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 1385
com.webobjects.appserver.WOApplication.appendToResponse (com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 1794
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW ithPreparedPage(com.webobjects.appserver.WOComponent, com.webobjects.appserver.WOSession, com.webobjects.appserver.WOContext, com.webobjects.foundation.NSDictionary) line: 242
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW ithPreparedSession(com.webobjects.appserver.WOSession, com.webobjects.appserver.WOContext, com.webobjects.foundation.NSDictionary) line: 298
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW ithPreparedApplication(com.webobjects.appserver.WOApplication, com.webobjects.appserver.WOContext, com.webobjects.foundation.NSDictionary) line: 332
com.webobjects.appserver._private.WOComponentRequestHandler._handleReq uest(com.webobjects.appserver.WORequest) line: 369
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ est(com.webobjects.appserver.WORequest) line: 442
com.webobjects.appserver.WOApplication.dispatchRequest (com.webobjects.appserver.WORequest) line: 1687
com.webobjects.appserver._private.WOWorkerThread.runOnce() line: 144
com.webobjects.appserver._private.WOWorkerThread.run() line: 226
java.lang.Thread.run() line: 613


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: eclipse debugging help
      • From: james o'loughlin <email@hidden>
References: 
 >eclipse debugging help (From: james o'loughlin <email@hidden>)

  • Prev by Date: Re: eclipse debugging help
  • Next by Date: Re: WYSIWYG editors
  • Previous by thread: Re: eclipse debugging help
  • Next by thread: Re: eclipse debugging help
  • Index(es):
    • Date
    • Thread