Civil 3D 2017 + Windows 10 debugging

Civil 3D 2017 + Windows 10 debugging

Alexey.Terno
Advocate Advocate
4,443 Views
21 Replies
Message 1 of 22

Civil 3D 2017 + Windows 10 debugging

Alexey.Terno
Advocate
Advocate

Hello everyone,
I can't debug my applications on Windows 10 with Civil 3D 2017. Debugging process always crash at acadmap.arx file loading.

1.png

 

In event log I have found appropriate error:

--------------------------------------------------------------
Faulting application name: acad.exe, version: 27.0.52.0, time stamp: 0x56b6cb23
Faulting module name: KERNELBASE.dll, version: 10.0.10586.103, time stamp: 0x56a8489c
Exception code: 0xe06d7363
Fault offset: 0x0000000000071f08
Faulting process id: 0x1e50
Faulting application start time: 0x01d19c174b49ec35
Faulting application path: C:\Program Files\Autodesk\AutoCAD Civil 3D 2017\AutoCAD 2017\acad.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 98192d73-3007-4bbf-9c3c-53eb4f43a288
Faulting package full name:
Faulting package-relative application ID:
--------------------------------------------------------------

 

How can I debud applications on Win10?

0 Likes
4,444 Views
21 Replies
Replies (21)
Message 2 of 22

Jeff_M
Consultant
Consultant

I'm able to Debug C3D2017 on Win10. Using either VS2013 or VS2015 Community editions. May need to check your Debug options, build platform, command line arguments, etc.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 22

Alexey.Terno
Advocate
Advocate

Here is my settings:

build platform is x64 only.

no command line arguments.

1.png

2_2.png

0 Likes
Message 4 of 22

Jeff_M
Consultant
Consultant

For the command line arguments I copied them from the Shortcut created by the C3D install.

 

4-23-2016 11-49-09 AM.png

 

The only thing in the Debug options that I see different is that I do not have the "Enable Native edit & continue" checked.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 5 of 22

Alexey.Terno
Advocate
Advocate

Unfortunately it did not help ((

I will check another options.

0 Likes
Message 6 of 22

augusto.goncalves
Alumni
Alumni
Please also try "Enable Native Code Debugging" on your project settings.
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 7 of 22

DRossger
Advocate
Advocate

Sorry for I ask to same thread but I use Civil3d 2017 and Visual Studio 2013.

I have no problem to run and stop on breakpoints in the code from Visual into Civil3d.

My problem is to can not edit code while running in Civil3d.

I have  checked "Enable Native Code Debugging" true, but it´s same as before ?!

2016-09-07_20-24-27.png

 

I get this message if I want edit while debugging

 

2016-09-07_19-59-33.png

0 Likes
Message 8 of 22

Jeff_M
Consultant
Consultant

@DRossger, install SP1 for Autocad 2017 and you will be able to use Edit & Continue again.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 9 of 22

DRossger
Advocate
Advocate

Hello Jeff!

Thanks for your replay, may I have to change something more. So here looks like my installation...

I have furthermore same problem...

2016-09-08_07-15-36.png

0 Likes
Message 10 of 22

Jeff_M
Consultant
Consultant

Cadplayer, what is your Project's target .NET platform set to? It must be 4.5 or greater (Microsoft website says 4.5.1 or greater, but mine is working when set to 4.5). Also, turn off the option for "Enable Native Edit and Continue".

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 11 of 22

DRossger
Advocate
Advocate

Sorry Jeff, I don´t get it. How you suspect what is problem, or means error-message  "Changes to 64-bit application are not allowed". 

I tried with framework 4.5.2 without success - is it strange ?! I have no idea, in connection with Autocad 2016 is all working fine. May something with Autocad 2017 installation is going wrong, thanks for your fast reply !

 

2016-09-09_07-05-55.png

0 Likes
Message 12 of 22

Jeff_M
Consultant
Consultant
Sorry, I'm out of suggestions. You might ask over in the .NET forum: http://forums.autodesk.com/t5/NET/bd-p/152
Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 13 of 22

augusto.goncalves
Alumni
Alumni
As a last resort, try create a clean project with .NET 4.5.2 and check if it helps...

Sometimes VS keep old settings on your file that can cause the Edit & Continue to fail.
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 14 of 22

Anonymous
Not applicable

Not sure if it's solved already,

 

I'm new here and ran into the same issue.

And finally get it through this morning.

This is all what I do to make it:

 

1. remove the acadmap.arx

2. install the new update of autocad 2017

http://help.autodesk.com/view/CIV3D/2017/ENU/?guid=GUID-DE3A46DA-508E-43A0-8538-C77D978D06B2

 

 

0 Likes
Message 15 of 22

DRossger
Advocate
Advocate

Yes this was solution to install SP1 for Autocad/Civil3d 2017

0 Likes
Message 16 of 22

TiStars
Advisor
Advisor
I found same problem on my new installed Laptop, will try to install SP1 for c3d

天涯海角的山姆


您认为此帖子是否有用?欢迎为此帖点赞。

您的问题是否已得到解答?请点击“接受解答”按钮。


EESignature



0 Likes
Message 17 of 22

TiStars
Advisor
Advisor
installing SP1 only doesn't help, I removed acadmap.arx, C3D and run up now, but NETLOAD seems failed on debug mode. DLL is loaded but C3D can't find my Command.

but when run C3D itself(not debug mode), netload runs well. will try to recompile DLL totally.

天涯海角的山姆


您认为此帖子是否有用?欢迎为此帖点赞。

您的问题是否已得到解答?请点击“接受解答”按钮。


EESignature



0 Likes
Message 18 of 22

TiStars
Advisor
Advisor
Just report for potential reference:


Moved acadmap.arx back to original folder and rename it to acadmap1.arx last night.

C3D could run up and NETLOAD worked as well, breakpoint could be hit, too.

It seemed that online map could not be used.

天涯海角的山姆


您认为此帖子是否有用?欢迎为此帖点赞。

您的问题是否已得到解答?请点击“接受解答”按钮。


EESignature



0 Likes
Message 19 of 22

Anonymous
Not applicable
Message 20 of 22

TiStars
Advisor
Advisor
Thank you very much denler, I will try it.

天涯海角的山姆


您认为此帖子是否有用?欢迎为此帖点赞。

您的问题是否已得到解答?请点击“接受解答”按钮。


EESignature



0 Likes