.Net Debugging Problem

.Net Debugging Problem

Anonymous
Not applicable
3,772 Views
12 Replies
Message 1 of 13

.Net Debugging Problem

Anonymous
Not applicable

Hi

I have a Problem to debug my very small Advance Steel Application.

Ican load and run the application but when I try to debug I receive

This Error Code : 0x80131623 (FatalExecutionEngineError).

I work with Advance Steel 2018 and the .NET Framwork 4.7.

Thanks for your Answer

0 Likes
Accepted solutions (1)
3,773 Views
12 Replies
Replies (12)
Message 2 of 13

kerry_w_brown
Mentor
Mentor

After googling that error number I don't think you'll find an answer without providing a lot more information.

 

For interest, why are you debugging AdvanceSteel2018 using ObjectArx 2019 ?


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 13

Anonymous
Not applicable

Sorry,

the Title of the first message was wrong.

I want to Debug Advance Steel 2018 with Visual Studio 2017 and the

.Net Framework 4.72 with C#.

I think its probably a dll Problem between the Framework and the

Advance Steel dll's, but I have no solution for This problem.

 

0 Likes
Message 4 of 13

ChristianBlei
Advisor
Advisor

Hi,

 

look here for the list of AutoCAD version and .Net framework version relations.

For AutoCAd 2018 or Advance Steel 2ß018 you have to use framework 4.6.

 

HTH,

Christian Blei

Christian Blei
CBT Christian Blei Tools
christianblei.de
youtube.com/channel/UCxjA_NbeScQy9C0Z1xjwXpw
Message 5 of 13

Anonymous
Not applicable

Hi Christian,

I have used the framwork 4.6.

Mit this Version I can debug Autocad but not Advance Steel.

regards

Andreas Engler Cteam

0 Likes
Message 6 of 13

ChristianBlei
Advisor
Advisor

Hi,

 

you wrote that you used Framework 4.7.

But anyway: The reason that you can not debug cannot be the framework. If you can debug AutoCAD but not Advance Steel, the reason is somewhere else. Is your tool working in release mode? Do your debug files get reached when you try to debug?

If you like you can upload your project, I will have a look.

 

HTH,

Christian Blei

Christian Blei
CBT Christian Blei Tools
christianblei.de
youtube.com/channel/UCxjA_NbeScQy9C0Z1xjwXpw
0 Likes
Message 7 of 13

Anonymous
Not applicable

Hi Christian,

here is my Code.

regards Andreas

0 Likes
Message 8 of 13

ChristianBlei
Advisor
Advisor

Hi,

 

the solution is easy: You have to start Advance Steel when you debug.

 

2019-05-21_08h45_17.png

 

You can copy the command line argument from the ADVS 2018 icon properties

2019-05-21_08h46_44.png

 

I used F5 to start debugging and then netload.

 

 

HTH,

CHristian Blei

Christian Blei
CBT Christian Blei Tools
christianblei.de
youtube.com/channel/UCxjA_NbeScQy9C0Z1xjwXpw
0 Likes
Message 9 of 13

Anonymous
Not applicable

Hi,

I have done it in the same way,

it crashes as well.

 

regards

Andreas Engler Cteam

 

 

0 Likes
Message 10 of 13

ChristianBlei
Advisor
Advisor

HI,

 

does the app only crash when you debug? In your first post you wrote that you can load and that it runs....

 

Christian Blei
CBT Christian Blei Tools
christianblei.de
youtube.com/channel/UCxjA_NbeScQy9C0Z1xjwXpw
0 Likes
Message 11 of 13

Anonymous
Not applicable

Hi,

I can load and run the application,

but I can't debug.

If I start debugging with presss F5, Advance Steel starts

and crashes two secends later.

0 Likes
Message 12 of 13

antonio.leonardo
Advocate
Advocate

Hi @Anonymous,

 

Following and repeating this question at this Post, as you are using Advance Steel 2018, target your plug-in to use of .NET Framework Version 4.6? View this requirements: https://knowledge.autodesk.com/support/advance-steel/learn-explore/caas/sfdcarticles/sfdcarticles/Sy...

0 Likes
Message 13 of 13

ChristianBlei
Advisor
Advisor
Accepted solution

Hi,

 

do you have the Graitec Advance Steel PowerPack installed?

If so, the Power Pack has a mechanism built in the protects it by prohibiting to debug. With an installed Power Pack tools run in release mode but crash when you debug. Then you either have to uninstall the Power Pack or use a VM for coding.

 

HTH,

Christian Blei

Christian Blei
CBT Christian Blei Tools
christianblei.de
youtube.com/channel/UCxjA_NbeScQy9C0Z1xjwXpw
0 Likes