Skip to main content
Known Participant
November 11, 2015
Answered

How to debug sdk example on visual studio?

  • November 11, 2015
  • 1 reply
  • 1966 views

Hi all, does anyone know how to debug sdk project on visual studio?

I have set the output folder to 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\Plug-ins\Effects',

and set debug command  to 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\AfterFX.exe'

then I set some breakpoints and press the debug button, AfterFx.exe runs and it creates a .aex file in the folder 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\Plug-ins\Effects'.

But when I select the plug-in in AE, nothing happend, still could not debug it

How to Debug the project, did I miss something?


thx for help!

This topic has been closed for replies.
Correct answer

Probably there is still something not set in your project settings.

Go to your solution properties then check for the following entries:

1.  C++ - Code Generation - Runtime Library

This needs to be set to either "Multi-threaded Debug (/MTd)" or "Multi-threaded Debug DLL (/MDd)"

2. C++ - Preprocessor

Make sure "_DEBUG" is defined and "NDEBUG" is not defined for debug builds

3. Linker - Debugging - Generate Debug Info

That should obviously be set to YES as well :-)

I think that should do the trick. Probably #1 is not set correctly for you.

1 reply

Correct answer
November 11, 2015

Probably there is still something not set in your project settings.

Go to your solution properties then check for the following entries:

1.  C++ - Code Generation - Runtime Library

This needs to be set to either "Multi-threaded Debug (/MTd)" or "Multi-threaded Debug DLL (/MDd)"

2. C++ - Preprocessor

Make sure "_DEBUG" is defined and "NDEBUG" is not defined for debug builds

3. Linker - Debugging - Generate Debug Info

That should obviously be set to YES as well :-)

I think that should do the trick. Probably #1 is not set correctly for you.

Known Participant
November 11, 2015

thanks for reply, I set all these properties correctly.

the problem is I skip the "Loading symbols " process.

By the way, I run the example ‘GLator’, but it seems has some issues,

Should I create my own context instead of AE's gl context?

do you have some idea on developing OpenGL in AE?

thanks again ^ ^

Known Participant
November 11, 2015

Yes, there is a CC2015 (13.5) SDK with some added and modified examples.

After Effects Developer Center | Adobe Developer Connection

As Francois said, CC2015 introduced a new threading architecture that you need to keep in mind when porting older plugins (or developing new ones) that access render/sequence data from the UI thread.


hi, I didn't find a cc2015(13.5) sdk in the link, the last SDK on that page is CS5.5

can you give me a specific example about "access render/sequence data from the UI thread"? i don't get it

thank you.