question

JacobsenDarbyRISORM-1374 avatar image
0 Votes"
JacobsenDarbyRISORM-1374 asked PramodValavala-MSFT answered

Azure Function calling legacy executable failing is there a way to debug with the same version of windows locally?

I have a legacy windows executable built using Delphi I am trying to move to Azure. I am currently testing calling it with an azure function in the D:\Home directory. I have other executables that work fine, but this one is just shutting down without an exception, in a seemingly random spot. Right now it is failing when I try to run it in the console halfway through a Console WriteLine debug message.

This exe works fine when testing the function locally.

Is there a VM or container that mimics the version of windows hosting the function, I can grab for better local debugging?

azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@JacobsenDarbyRISORM-1374 While not exactly the same, you could try testing your function in a functions windows container (one with nanoserver tags) and if it works, you can deploy the same into App Service.

Unfortunately, containers are not supported in Consumption Plans yet.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.