Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Xcode detected, exception catcher not installed!

    SDK Help
    0
    9
    763
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 24/04/2015 at 07:05, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   15 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      I was trying to step through my code so I set a couple of breakpoints.
      I run it and the breakpoints are simply ignored.
      It is not the first time I deal with breakpoints but now, they simply stopped working.
      In the Xcode console, I got this:

      Xcode detected, exception catcher not installed!

      Could it be this?
      If it is, how can I install the exception catcher?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 24/04/2015 at 07:50, xxxxxxxx wrote:

        Originally posted by xxxxxxxx

        <ADDRESS>
        User Information:
        Cinema 4D Version:   15 
        Platform:     
        Mac OSX  ; 
        Language(s) :    
        C++  ;

        ---------
        </ADDRESS> I was trying to step through my code so I set a couple of breakpoints.
        I run it and the breakpoints are simply ignored.
        It is not the first time I deal with breakpoints but now, they simply stopped working.
        In the Xcode console, I got this:

        Xcode detected, exception catcher not installed!

        Could it be this?
        If it is, how can I install the exception catcher?

        Educated guess: You're trying to set breakpoints in release code. That (most of the time) doesn't work, as the compiler has optimized code or inlined complete methods.

        The "Xcode detected, exception catcher not installed!" message is send by Cinema as we don't install the crash report handler when Xcode is detected - otherwise you wouldn't be able to catch any crashes in debugger (or execute breakpoints).

        Best regards,

        Wilfried

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 24/04/2015 at 07:59, xxxxxxxx wrote:

          Thank you for the reply, Wilfried.

          However, I have already set breakpoints in my code in the past and that allowed me to step through the code and detect some errors.
          I don't think I have done anything different, in the meanwhile.
          So, why is it considering now that the code is "release code"?
          And, if that is the problem, how can I make it work with breakpoints?

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 24/04/2015 at 08:02, xxxxxxxx wrote:

            I just checked the schemes and the Run scheme is set to:

            Build Configuration: Debug

            and not to Release. The Debugger it set to LLDB.

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 24/04/2015 at 08:38, xxxxxxxx wrote:

              Originally posted by xxxxxxxx

              I just checked the schemes and the Run scheme is set to:

              Build Configuration: Debug

              and not to Release. The Debugger it set to LLDB.

              Then probably Xcode hasn't compiled all code as debug (if you did a release build before) or (for some reason) didn't detect your latest code changes.

              Assuming your code with the breakpoints could be reached (at all) that 's the only reason I could think of yet. Try a Clean (Cmd-Shift-K) then have a look if your breakpoints are triggered.

              Best regards,

              Wilfried

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                On 24/04/2015 at 10:30, xxxxxxxx wrote:

                Nope. It still doesn't work. I have cleaned it and even choose "Build for Running". Then I choose Run, Cinema 4D opens and the plugins works. I have breakpoints placed in key places and they should revert back to Xcode, but nothing. The plugin simple works, as normal.
                I must say that now the plugin is working fine and I don't really need the breakpoints (I managed to solve my problem by placing some GePrint() until I pinpointed the problem).
                But it is worrying, not to be able to set breakpoints, as I may need them in the future.
                So, I know that the places where the breakpoints are set are being executed, because the plugin is working (and the breakpoints are placed in the core routine).
                I still get the Xcode detected, exception catcher not installed! in the Xcode console 😞

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  On 24/04/2015 at 11:59, xxxxxxxx wrote:

                  Originally posted by xxxxxxxx

                  Nope. It still doesn't work. I have cleaned it and even choose "Build for Running". Then I choose Run, Cinema 4D opens and the plugins works. I have breakpoints placed in key places and they should revert back to Xcode, but nothing. The plugin simple works, as normal.
                  I must say that now the plugin is working fine and I don't really need the breakpoints (I managed to solve my problem by placing some GePrint() until I pinpointed the problem).
                  But it is worrying, not to be able to set breakpoints, as I may need them in the future.
                  So, I know that the places where the breakpoints are set are being executed, because the plugin is working (and the breakpoints are placed in the core routine).
                  I still get the Xcode detected, exception catcher not installed! in the Xcode console 😞

                  The exception catcher message is fine - it would be worrying if it wouldn't appear, the issue of not being able to set the break points is very strange though.

                  Best regards,

                  Wilfried

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    On 24/04/2015 at 12:06, xxxxxxxx wrote:

                    Yes, as it was working a couple of days ago 😞
                    And now, all of a sudden, it doesn't work anymore.

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helper
                      last edited by

                      On 27/04/2015 at 06:56, xxxxxxxx wrote:

                      Hi Rui,

                      you seem to have a pretty mixed relation with your Xcode 😉

                      I remember, once I had such problem as well. If I remember correctly a restart of my MacBook fixed it, but I'm not exactly sure. But this might be worth a try.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post