Skip to main content
Richard Rosenman
Inspiring
September 5, 2018
Question

Testing plugins in After Effects

  • September 5, 2018
  • 2 replies
  • 509 views

Hello gang;

Currently, I compile a plugin from VS and it gets output into the Program Files/Adobe/Common/Plug-Ins/CS6/MediaCore/ folder. This is then loaded when I launch After Effects.

But I have to relaunch AE everytime I recompile to test it. Is there no easier method than this? Is it not possible to have AE always open, but somehow flush the plugin memory or something along those lines? I cannot recompile and overwrite the plugin in the MediaCore folder as long as AE is open since the file is locked, thereby forcing me to quit, recompile, and restart AE.

Thanks,

-Rich

This topic has been closed for replies.

2 replies

Community Expert
September 20, 2018

well, there's this highly dubious process i've suggested in the past...

since plug-ins are DLLs, you can create an "empty shell" plug-in, that

dynamically loads (and unloads) your "real" plug-in and just transfers all

calls to it.

this way the dynamically loaded DLL is not locked and can be re-compiled

without re-launching AE.

other restrictions i mentioned still apply...

On Thu, Sep 20, 2018 at 10:41 AM tit_toinou <forums_noreply@adobe.com>

Community Expert
September 5, 2018

take a look at this:

https://docs.microsoft.com/en-us/visualstudio/debugger/edit-and-continue-visual-cpp?view=vs-2017

i haven't used it in a while, because it got broken when switching to x64,

but i think it's back on. it allows you to change the code during a debug

session.

there are some limitations, because AE does some things calls at certain

times, and having already executed these calls, AE won't execute them again

until it restarts:

1. global setup. happens on the first time a plug-in is loaded on a

session. if you change something in the global setup function, you'll need

to relaunch AE.

2. param setup, same as above.

3. sequence setup. this happens only when a new instance is created, and

won't happen again for an existing instance.

that's about it.

On Wed, Sep 5, 2018 at 9:00 PM richardr69178942 <forums_noreply@adobe.com>

Richard Rosenman
Inspiring
September 6, 2018

Thanks for this info.

Would you say this is the typical workflow most developers use for testing? Or is there another procedure?

-Richard