• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX:SE Debugging SimConnect with FSX SE

Messages
823
Country
ca-ontario
I am developing a SimConnect add-on, and I'd like to debug it. I've set everything up in Visual Studio, but the FSX SE refuses to start, giving me a message that "the FSX SE wasn't started through Steam".

I also have the "old" retail FSX SP2, and I can get the debugger going just fine when my DLL is called through the FSX SP2. As a fallback, I can always use FSX SP2 to work with, but since I'm working with FSX SE, I'd like to debug with it too, instead of switching back and forth... very annoying :mad:

I'm sure solution is somewhere in the settings - any tips on how to debug a SimConnect DLL with FSX SE? Thanks!

(I also posted this in the Steams FSX SE "Non-Steam Add-Ons Forum")
 
Hi Misho.

I need to have the Steam app running in the background in order to get FSX:SE to run.
 
Hi Misho.

I need to have the Steam app running in the background in order to get FSX:SE to run.

Oh I know about that - and I do. But when you debug DLL, you need to specify the "calling application" (which is FSX) in Visual Studio. In effect, Visual Studio starts the main application (FSX) and then lets the DLL module run in debug mode. I can get it going with "plain" FSX (SP2), but Steam edition has some kind of a blocker/checker that puts up a fight when it is started through Visual Studio.
 
When I'm debugging gauges, I start FS and then use the "Attach to Process" menu option on the debug menu.
Just tested it now and FSX-SE let me attach the VS2012 debugger.
 
When I'm debugging gauges, I start FS and then use the "Attach to Process" menu option on the debug menu.
Just tested it now and FSX-SE let me attach the VS2012 debugger.

Thanks! - I did what you suggested and it works!! The downside is, I have to do this for every debug session, and the process dialog takes a while to show up. I'll investigate a bit further to see if there is a way to expedite this, perhaps someone on the Steam forum might have an answer. I'll report here if they do!
 
Back
Top