• 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: Bundles: debugging and more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundles: debugging and more


  • Subject: Re: Bundles: debugging and more
  • From: Andreas Monitzer <email@hidden>
  • Date: Tue, 31 Jul 2001 14:19:16 +0200

On Tuesday, July 31, 2001, at 01:41 , Daniel Kdsmayr wrote:

I have an application that is designed in a way that most functionality sits inside of seperate Bundles. Like a "Viewer" bundle, one uses OpenGL,
another uses Quartz, etc. Everything works fine ecxept 2 things:

1. How do I debug code that is inside a bundle? When I set a break point in Project Builder the code doesnt stop when I run the debugger. Of course, I run the debugger on the main app, since the bundle itself wont run...is there a way to do this?

It's possible using gdb directly:

fb -[class selector]

fb means "future break"

2. When I have code inside the bundle and want to access resources contained in it, how would I get the path info for it? [NSBundle mainBundle] gives me the main app, not the bundle...

[NSBundle bundleForClass:[self class]]

andy
--
Discussion forthcoming.


References: 
 >Bundles: debugging and more (From: "Daniel Käsmayr" <email@hidden>)

  • Prev by Date: Re: Bundles: debugging and more
  • Next by Date: Newbye with .. a button :-))
  • Previous by thread: Re: Bundles: debugging and more
  • Next by thread: Re: Bundles: debugging and more
  • Index(es):
    • Date
    • Thread