• 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
Mac OS X, Java, and Cocoa Debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac OS X, Java, and Cocoa Debugging


  • Subject: Mac OS X, Java, and Cocoa Debugging
  • From: Jeff Zacharias <email@hidden>
  • Date: Sat, 25 May 2002 21:17:54 -0400

When the Mac OS X public beta came out I ported a 100% Java application to Mac OS X. It was an easy port and worked well. I then rewrote the application to use Cocoa for the user interface instead of AWT. This wasn't too difficult to do. The application queries a database for information and displays it. The application worked fine but over the past year with the Mac OS X updates and the Developer Tools updates the application no longer works. When I run it I can do the first query fine but the second or sometimes the third crashes the application with a segmentation fault. The code I wrote is still 100% Java. When I try to debug I cannot find what is causing the problem. It is crashing inside the Cocoa libraries. I can locate a call to a Cocoa library when it crashes. If I comment out that call it will crash at the next call to a Cocoa library. I don't know how to debug a problem inside a Cocoa library and can't find any reference on how to do this. Can anybody recommend an approach to get my application running again ? Are there any debug tools or techniques I can use ?


Thanks,

Jeff Z
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Absolute Paths
  • Next by Date: Re: NSTimer and deep sleep
  • Previous by thread: Absolute paths
  • Next by thread: Re: Absolute Paths [Thank You]
  • Index(es):
    • Date
    • Thread