Skip to main content
Participating Frequently
February 27, 2024
Answered

indesign C++ plugin debug for mac

  • February 27, 2024
  • 1 reply
  • 551 views

How to use the built-in DebugWindow in the C++ SDK? Or in regular development, how to debug? The debug version compiled and placed in the 'plug-ins' folder cannot be used. How can this issue be resolved?

This topic has been closed for replies.
Correct answer Olivier Beltrami

@RDI33054067w5ck  Note that if you are compiling your plugin in DEBUG mode, then you must install the debug version of InDesign (which is installed in a separate folder with a diffewrent name). That is to say, you cannot use the normal version of InDesign with a plugin compiled in DEBUG mode. However, you can compile your plugin in RELEASE mode and still test it in the debugger for all intents and purposes. That is what I do 99% of the time; it is extremely rare for me to use the DEBUG version of InDesign to do any debugging.

1 reply

Olivier Beltrami
Olivier BeltramiCorrect answer
Legend
February 27, 2024

@RDI33054067w5ck  Note that if you are compiling your plugin in DEBUG mode, then you must install the debug version of InDesign (which is installed in a separate folder with a diffewrent name). That is to say, you cannot use the normal version of InDesign with a plugin compiled in DEBUG mode. However, you can compile your plugin in RELEASE mode and still test it in the debugger for all intents and purposes. That is what I do 99% of the time; it is extremely rare for me to use the DEBUG version of InDesign to do any debugging.

Participating Frequently
April 17, 2024

Can you tell us how to *find* the debug version? I appreciate that some debugging is still possible running in the release environment, but for certain things it's still very desirable to have the full debug environment. I just can't *find* the debug version to install it... Thank you.

Community Expert
April 19, 2024

You will have to first join the prerelease program for InDesign SDK and then you will start seeing the Debug app in the Creative Cloud app for download.

More details can be seen at the following article

https://blog.developer.adobe.com/how-to-join-creative-cloud-prerelease-programs-ccecc10ae7d3

-Manan

-Manan