plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

BitsAndDroids avatar image
BitsAndDroids asked JB3DG commented

How to change DLL build type for WASM module?

1677785307566.png

When building my standalone WASM module through VS in debug mode the generated DLL is set to release mode. I've searched all over the docs but I can't find where I'm able to flag the SDK to compile my WASM module to a debug DLL build. Could anyone point me in the right direction?

devmodewasm
1677785307566.png (14.5 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

tracernz avatar image
tracernz answered BitsAndDroids commented

Enable Fast WASM in the sim dev menu when you want to do debugging.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

BitsAndDroids avatar image BitsAndDroids commented ·
Thank you very much. I was looking in all the wrong places.
1 Like 1 ·
JB3DG avatar image
JB3DG answered JB3DG commented

I tried this but no joy. The Debug version of my WASM gauge will not build and DLL type is always set to Release.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

JB3DG avatar image JB3DG commented ·
Found. In my case my simconnect callback definition didn't have the same name as the declaration
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.