Xcode detected, exception catcher not installed!



  • 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?



  • 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



  • 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?



  • 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.



  • 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



  • 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 :-(



  • 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



  • 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.



  • 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.


Log in to reply