Re: Redirect IO of target
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