Archicad C++ API
About Archicad add-on development using the C++ API.

Protection Error "Debugging detected" while debugging.

Anonymous
Not applicable
How to debug if in Archicad 12 appears Protection Error "Debugging detected" while debugging?

Is there special Archicad version for developers without debug protection? Or Visual Studio project needs some special settings to allow debugging?
2 REPLIES 2
Ralph Wessel
Mentor
Andrei wrote:
How to debug if in Archicad 12 appears Protection Error "Debugging detected" while debugging?

Is there special Archicad version for developers without debug protection? Or Visual Studio project needs some special settings to allow debugging?
No, you shouldn't require special settings or a special version of AC for debugging. It sounds like you have inadvertently done something that gives the impression you are trying to debug into the WIBU driver, which someone might do if they wanted to circumvent it. I'd suggest a making a clean rebuild and clearing all break points for a start.

Is this your first attempt to debug an ArchiCAD add-on, or has it successfully worked in the past?
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Yes, its looks like trouble because of protection of WIBU driver.

I have successfully debug my AC Addon projects for AC version 9 and 10. But I cant debug Addon for AC versions 11 and 12.

I set breakpoints only at my project's code.

Maybe Visual Studio tries to step into (debug) AC and WIBU code when I starting debug?