• 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: Redirect IO of target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirect IO of target


  • Subject: Re: Redirect IO of target
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 28 Sep 2011 15:04:19 -0700


On Sep 28, 2011, at 1:36 PM, Michael Lehn wrote:

The solution suggested there requires to modify the program.  This is not a feasible solution
in my case: my program is the LAPACK test suit (which I want to use as-is) implemented in
Fortran which calls some of my C++ routines which I want to be able to debug with Xcode.

How is the code structured? If you’re running it in Xcode, then LAPACK is probably an already-compiled library that you link into an app? In that case, you can modify the main() function of the app to reopen the standard file descriptors.

Alternatively, you could run the program from a terminal window, and have Xcode’s debugger wait for it to start (Product > Attach to Process > By PID).

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: Redirect IO of target
      • From: Michael Lehn <email@hidden>
References: 
 >Redirect IO of target (From: Michael Lehn <email@hidden>)

  • Prev by Date: Redirect IO of target
  • Next by Date: Re: Redirect IO of target
  • Previous by thread: Redirect IO of target
  • Next by thread: Re: Redirect IO of target
  • Index(es):
    • Date
    • Thread