Add-on error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-11-19 04:53 AM
Hi, I just want to ask what I should do if my archicad 27 always crashes while opening an add-on made by our company? It's working perfectly in AC26. I manage to upgrade the add-on for AC27 but when I try to open it, it crashes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-11-20 07:59 AM
Hi, If API27 example addon works on your PC without any problem, then I'd suggest you to check VC project file settings carefully to see whether everything (include header/lib/etc. file path) refer to new API27 Dev Kit and try again.
HTH.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-11-20 08:53 AM
Hi,
There can be a lot of different reasons for this. I'd try the following approach to debug your Add-On:
- Remove the Add-On from the Add-On Manager
- Restart Archicad
- Attach a debugger to Archicad
- Set breakpoints at the start of the CheckEnvironment, RegisterInterface and Initialize functions
- Load the Add-On and step through the code to see when it crashes
- Alternatively check the stack trace when it crashes
Hope that helps,
Bernd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-11-25 02:36 AM - edited 2024-11-25 02:41 AM
Hi @BerndSchwarzenbacher I tried your solution, but it stopped when AC27 opened, it didn't crash or open the add-on, and no errors is found.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-11-25 03:51 PM
What stopped when AC27 opened?
Do you mean you've hit a breakpoint or something else?