Debugging programs in ORD

I am setting up the ORD SDK on my computer right now and am trying to figure out the breakpoints for debugging.  

wiki page reference: https://communities.bentley.com/products/programming/civil_programming/w/wiki/48377/developing-with-the-managed-sdk

I am working with the ManagedSDKExample.  The wiki says to load the addin through ORD (MDL Load) to get the symbols to load in Visual Studio and allow the breakpoints to work..  Does this mean that I need to build the project into a debug capable DLL in order to load it as an addin or can I load one of the files in the list below?

Here is a snippet of the debug directory under the VS project.

Thanks,

Jason Brame

ORD 2021 R2

Visual Studio 2017 C#

Parents Reply
  • Jan,

    Thanks, for the reply. 

    and am trying to figure out the breakpoints for debugging.  

    What is your knowledge how NET debugging, using what files, works?

    I have used VBA for Microstation for years.  I am new to C# and am feeling my way through this process.  I spent the few months learning the base C# language and am trying to make the transition to working with ORD Addins.

    or can I load one of the files in the list below?

    I assume the files on your picture are from Visual Studio work folder, used to store temporary files during building process. None from them can be loaded to ORD.

    yes that is correct.  I thought that was the case and added the image so that i would give a visual to the question.

    Visual Studio 2017 C#

    If you plan to use NET only (and not C++ API), I recommend to use the latest Visual Studio 2022 (or at least 2019).

    I have access to VS 2022 but loaded VS 2017 because the one batch delivered with the ORD SDK file says it's for VS 2017.  I will get rid of 2017 and put 2022 on my computer.

    Thanks,

    Jason

Children
No Data