Cannot make debug change in acad 2012 64 bits and visual basic express 2010.

Cannot make debug change in acad 2012 64 bits and visual basic express 2010.

Anonymous
Not applicable
1,739 Views
10 Replies
Message 1 of 11

Cannot make debug change in acad 2012 64 bits and visual basic express 2010.

Anonymous
Not applicable

Hello,

My problems:

   I have autocad2012 64 bits and visual basic express 2010.

   When I try to debug my app I can't make change in debug process.

The following windows appears:

debug.PNG

In english I think,

Edit and continue

Modifications not support on 64 bits CPU.

 

Please Help me

 

Best regard

 

 

 

0 Likes
1,740 Views
10 Replies
Replies (10)
Message 2 of 11

StephenPreston
Alumni
Alumni

Hi Francois,

 

That is a limitation of Microsoft Visual Studio.

Cheers,

Stephen Preston
Autodesk Developer Network
0 Likes
Message 3 of 11

Anonymous
Not applicable

Hi Stephen,

 

Do you have a solution for me?

An other logiciel ?

 

Thanks

 

0 Likes
Message 4 of 11

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Do you have a solution for me?

There are not to much options to get that running, I see at least two ways to work:

a) Do your development on an 32bit OS, than you can Edit-While-Debug

b) If you are not depending on new functions of 2011 or 2012 you could install e.g. Civil3D2010 (if you are ADN-member you can download and install it), because Civil3D2010 will install as 32bit-application also on 64bit-OS. So the base-development could be done 32bit based, therefore Edit-While-Debug is enabled and just for final testing for 2012 and for 64bit you have to create a new project-file but (in 99%) the same source-files.

Besides of Civil3D there may also be other vertical products based on AutoCAD and 32bit (for 64bit OS), however I only know Civil3D2010 as the latest product that runs as 32bit-app on an 64bit-OS.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 11

Anonymous
Not applicable

Alfred,

Thank for your answer.

I'm a little programmer and I only develop with visual basic 2010 express.(before I use VBA)

Just a question: What tools I must use to develop an 64 bits autocad application?

 

Thank

0 Likes
Message 6 of 11

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> What tools I must use to develop an 64 bits autocad application?

VisualStudio 2008 for AutoCAD2011, VisualStudio 2010 for AutoCAD 2012 ... and yes, can be one of the Express-versions. There is no other tool necessary.

 

To get documentation you can download the ObjectARX-kit (look >>>here<<<), you need to get registered but it's free. And within that you also have a lot of docu and samples also for dotNET-based development.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 7 of 11

Anonymous
Not applicable

 

Alfred,

And in this case (autocad 2012 with visual studio 2010 in W7 64 bits) I can't modify and continu debuging ?

 

I am sad.
Why I bought a pc 64 bits

 

still thank you

 

François

0 Likes
Message 8 of 11

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> I can't modify and continu debuging

No, that option is not available.

 

>> I am sad. Why I bought a pc 64 bits

For working with big data amounts, not for development 😉

 

Once more: prepare a VMWare, install Win7x32 plus VS2010 plus AutoCAD on it and you can write/debug/edit code.

Use your 64bit just for last compilation and testing.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 9 of 11

Rob.O
Collaborator
Collaborator

I have run into this 'pain in the behind' limitation too!

 

Does anyone know if Microsoft plans to address this issue in the next release of VS?

0 Likes
Message 10 of 11

StephenPreston
Alumni
Alumni

Hi Francois,

 

Just to be clear - this limitation of Visual Studio prevents you editng your code during your debug session, but it doesn't stop you writing or debugging code. All it means is that, when you find some code that needs editing, you have to stop your debugging session, edit your code, and then startup your debugging session again (from the beginning). This is an annoyance, but its not a showstopper.

Cheers,

Stephen Preston
Autodesk Developer Network
Message 11 of 11

Anonymous
Not applicable

there's also a problem with VS2010: http://through-the-interface.typepad.com/through_the_interface/2011/09/no-source-available-when-debu...

 

that can be "solved" by setting FIBERWORLD system variable to 0, but this causes some other problems, that's why I decided to use VS2008 and miss out .NET 4.0

0 Likes