Debugging with Xcode not working?


(Jacob Bandes-Storch) #1

In the past, I've been able to run "build-script -x" to set up
Swift.xcodeproj, then create a scheme for the swift target, and run it from
Xcode.

Now, in Xcode 7.3 beta 4 (7D152p) this doesn't seem to work. The toolbar
says "Running swift : swift", but the program never seems to execute
(normally it would pause at an exec(), and let me continue) nor does it
produce any output. The Stop button doesn't stop it, and Quit doesn't work
because it tries to wait for execution to stop. Clicking the pause button
doesn't work either. (The binary it built does run correctly when I execute
it directly, but I'd like to use Xcode for debugging.)

Did something change recently that would cause this not to work? Am I
missing a step?

Jacob


(Jacob Bandes-Storch) #2

This seems to be working again in 7D162j. :slight_smile:

ยทยทยท

On Tue, Mar 1, 2016 at 12:31 AM, Jacob Bandes-Storch <jtbandes@gmail.com> wrote:

In the past, I've been able to run "build-script -x" to set up
Swift.xcodeproj, then create a scheme for the swift target, and run it from
Xcode.

Now, in Xcode 7.3 beta 4 (7D152p) this doesn't seem to work. The toolbar
says "Running swift : swift", but the program never seems to execute
(normally it would pause at an exec(), and let me continue) nor does it
produce any output. The Stop button doesn't stop it, and Quit doesn't work
because it tries to wait for execution to stop. Clicking the pause button
doesn't work either. (The binary it built does run correctly when I execute
it directly, but I'd like to use Xcode for debugging.)

Did something change recently that would cause this not to work? Am I
missing a step?

Jacob