2 Replies
      Latest reply on Jan 21, 2019 1:40 AM by eskimo
      gegy Level 1 Level 1 (0 points)

        Hi there,

         

        i have added a playground to my project workspace, compiled my project to a framework target and imported it to my playground. Everything runs fine. I can make instances of my classes and run methods from them, but set breakpoints in my project are not hitten. Is there any possibility to get hit the breakpoints in my project?

         

        Many thanks

        • Re: Hit Breakpoint running Playground
          Claude31 Level 8 Level 8 (6,155 points)

          AFAIK, there are no breakpoints in Playground. Is it what you are looking for ?

          • Re: Hit Breakpoint running Playground
            eskimo Apple Staff Apple Staff (11,485 points)

            Is there any possibility to get hit the breakpoints in my project?

            Playgrounds don’t support breakpoint.  I usually solve this problem by creating another target in my app and then debugging my framework in that context.  I try to use a test target for this, so I can debug my framework while I’m adding unit tests for it.

            Share and Enjoy

            Quinn “The Eskimo!”
            Apple Developer Relations, Developer Technical Support, Core OS/Hardware
            let myEmail = "eskimo" + "1" + "@apple.com"