Skip to main content
Known Participant
Mar 24, 2017 9:22 PM UTC
Question

How can I debug a plug-in using VisualStudio 2015?

Hi all;

I have the BasicPlugin example working!!! Built with VisualStudio 2015 and no problems.

But sooner or sooner I'm going to hit problems. How do I run under the debugger when I do?

thanks - dave

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Dan_Korn
Inspiring
Mar 27, 2017 11:53 PM UTC

Set the configuration to Debug, right-click on the plug-in's project and click Settings, then navigate to Debugging and set the Command to the full path to Acrobat.exe (probably "C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe").  Save the settings, then you can just click "Start Debugging" (F5) and it should start Acrobat.

Translate
lrosenth
Adobe Employee
Adobe Employee
Mar 24, 2017 9:48 PM UTC

Attach the debugger to Acrobat

Translate
Known Participant
Mar 24, 2017 9:56 PM UTC

Attaching works if the problem is not in the initialization. But what about for problems in the initialization?

thanks - dave

Translate
lrosenth
Adobe Employee
Adobe Employee
Mar 26, 2017 1:11 PM UTC

Then use the “run and attach” (or something like that, been a while since I’ve done it)

Translate