Skip to main content
Known Participant
March 24, 2017
Question

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

  • March 24, 2017
  • 2 replies
  • 767 views

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 has been closed for replies.

2 replies

Dan_Korn
Inspiring
March 27, 2017

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.

lrosenth
Adobe Employee
Adobe Employee
March 24, 2017

Attach the debugger to Acrobat

Known Participant
March 24, 2017

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

thanks - dave

lrosenth
Adobe Employee
Adobe Employee
March 26, 2017

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