• 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: Unit Tests, Breakpoint, and the color Orange
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit Tests, Breakpoint, and the color Orange


  • Subject: Re: Unit Tests, Breakpoint, and the color Orange
  • From: Rob Evans <email@hidden>
  • Date: Tue, 24 Mar 2009 12:25:48 -0300

On a lark, I hardcoded the values of XCInjectBundle and
XCInjectBundleInto rather than relying on $(BUILT_PRODUCTS_DIR)
variable and guess what... it worked. Screenshot here [1].

Clearly something else is wrong with my Xcode settings as
$(BUILT_PRODUCTS_DIR) should work as advertised, so I suspect I'm
shooting my self in the foot somehow.

Is there a way to have Xcode display the environment variables being
used by the executable that is being debugged? If not, I can probably
use some unix mojo or possibly just add some code to my application
just to get a peek at what's going on.

Thanks again for your help, Chris. That sinking feeling in my gut is
now gone! ;-)

[1] http://www.quicksnapper.com/objectiveous/full/untitled-0006/

On Mon, Mar 23, 2009 at 6:30 PM, Chris Hanson <email@hidden> wrote:
> On Mar 23, 2009, at 2:20 PM, Rob Evans wrote:
>
> I believe that I have the correct environment variables set for my
> executable.
> Here are two screenshots that show, [1] the settings for my executable
> (Davenport), and [2] the result of trying to debug a unit test. In the
> second
> screenshot, you can see that the application built successfully and is
> running
> and yet the breakpoints are not being loaded successfully.
>
> Any thoughts on what I might try next?
>
> [1] http://www.quicksnapper.com/objectiveous/full/untitled-0003/
> [2] http://www.quicksnapper.com/objectiveous/full/untitled-0004/
>
> Show a couple more things: The General tab of your Davenport executable, and
> the actual debugger console output from trying to Debug your Davenport
> executable.  Also, remember that just building will not hit breakpoints in
> your tests.  You have to Debug to hit them.
>   -- Chris
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Unit Tests, Breakpoint, and the color Orange (From: Rob Evans <email@hidden>)
 >Re: Unit Tests, Breakpoint, and the color Orange (From: Chris Hanson <email@hidden>)
 >Re: Unit Tests, Breakpoint, and the color Orange (From: Chris Hanson <email@hidden>)

  • Prev by Date: Pre-build & Post-build phases
  • Next by Date: Re: Best way to launch command-line program from C++ application
  • Previous by thread: Re: Unit Tests, Breakpoint, and the color Orange
  • Next by thread: including wxwidget in a project
  • Index(es):
    • Date
    • Thread