BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

[SOLVED] Debug Monitor

Anonymous
Not applicable
Hi,
how can I view the debug messages printed by DBPrintf.
I need to get debug messages for testing, currently playing aroung with DG_Test.
The documentation mentions something about a Debug Monitor but I could not locate such an application in Support->Tools section of the SDK.

Thanks
Dimi
3 REPLIES 3
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
Hi Dimi,

If you are a Mac user than messages printed by DBPrintf can be seen using Console.app (you can find it in /Applications/Utilities/).
Using Windows you must run Visual Studio and attach to ArchiCAD process, that way you can debug your Add-On and the messages of DBPrintf will be in the Output window.

Regards,
Tibor
Anonymous
Not applicable
Thanks Tibor, this worked.
Anonymous
Not applicable
Tibor wrote:
Hi Dimi,

If you are a Mac user than messages printed by DBPrintf can be seen using Console.app (you can find it in /Applications/Utilities/).
Using Windows you must run Visual Studio and attach to ArchiCAD process, that way you can debug your Add-On and the messages of DBPrintf will be in the Output window.

Regards,
Tibor
How do I make such attach between visual studio and Archicad?
Thanks!

Edit:
I succeed attaching to archicad but not to debug.. I have the .nativs files in visual studio..
But Do I have to restart archicad every time I change my code?
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!