Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to debug sdk example on visual studio?

Community Beginner ,
Nov 10, 2015 Nov 10, 2015

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'

QQ截图20151111103800.png

QQ截图20151111103823.png

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!

TOPICS
SDK
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Nov 10, 2015 Nov 10, 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. Probabl

...
Translate
Guest
Nov 10, 2015 Nov 10, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 10, 2015 Nov 10, 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 ^ ^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 10, 2015 Nov 10, 2015

Hi!

About GLator, you can check this thread:

GLator for dummies (and from dummy...)

The thing is, if you're using CC 2015, AE's architecture has changed and it can lead to some issues. I've never hit them yet though, but I've been warned about it, so now you've been warned too 😉

Cheers,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 10, 2015 Nov 10, 2015

wow thanks, I'll check it

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 11, 2015 Nov 11, 2015

The GLator example as it is distributed with the SDK is still a mess .

I would definitely recommend creating your own OpenGL context!

Also check out the GLator thread Francois posted above, I contributed a bit to that too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 11, 2015 Nov 11, 2015

Hi Toby!

You see, I knew someone would read it one day 😉

Cheers,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 11, 2015 Nov 11, 2015

is there a new sdk for CC2015?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 11, 2015 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 11, 2015 Nov 11, 2015

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 11, 2015 Nov 11, 2015
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 11, 2015 Nov 11, 2015
LATEST

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines