Author Topic: Edit & continue in x64  (Read 2246 times)

0 Members and 1 Guest are viewing this topic.

GILESP

  • Newt
  • Posts: 42
Edit & continue in x64
« on: June 12, 2013, 08:44:07 AM »
Been away from coding for a bit, but am back with enthusiasm (for now).
One reason for my absence was a hardware/software upgrade - we've finally moved to windows7 64bit.

I'm now tryin to get Visual studio and everything else to play nicely again.  One problem I'm finding is that when debugging I'm getting a error when I try to edit the code in session "Changes to 64bit applications are not allowed".  Is there a way around this?

I'm using VS2010 express on a 64bit windows 7.
..END OF LINE..

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Edit & continue in x64
« Reply #1 on: June 12, 2013, 09:24:07 AM »
Only one sure fire way around it that I know.  Develop using 32 bits.  However, I must admit I don't know much.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

GILESP

  • Newt
  • Posts: 42
Re: Edit & continue in x64
« Reply #2 on: June 12, 2013, 09:34:43 AM »
Figured as much.

Is there a simple switch in VS2010 to do this - all I can find online is how to do it in VS2008.

I'm guessing/hoping if I develop in 32bit I can easily recompile once done into 64bit without too much hassle?
..END OF LINE..

mohnston

  • Bull Frog
  • Posts: 305
  • CAD Programmer
Re: Edit & continue in x64
« Reply #3 on: June 12, 2013, 12:16:24 PM »
Edit and continue is such a valuable feature to me I ended up creating a 32 bit virtual machine and do 90% of my programming there.
It was a good option for me since I have to support both 32 and 64 bit systems anyway. It gave me a test environment for both bits.

I keep looking for an indication that this will be fixed by MS but haven't seen any good news on that front lately.
It's amazing what you can do when you don't know what you can't do.
CAD Programming Solutions

GILESP

  • Newt
  • Posts: 42
Re: Edit & continue in x64
« Reply #4 on: June 12, 2013, 12:24:32 PM »
Well I've figured out how to compile into 32bit, which is a start, though now I need to convince our IT dept to allow me to install and set up a 32bit VM.

For reference, this page tells how to compile to different environments: http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express
..END OF LINE..

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Edit & continue in x64
« Reply #5 on: June 12, 2013, 12:49:39 PM »
There really is no fix for 64bit Edit and Continue because it has never existed.
 
Until they decide it is worth adding then no luck.

GILESP

  • Newt
  • Posts: 42
Re: Edit & continue in x64
« Reply #6 on: June 13, 2013, 03:33:14 AM »
How frustrating.

Kinda glad I convinced our IT bods to allow me to dual-boot my workstation into XP if needed. Pity I have to do my development in XP though. Hopefully this won't affect the code when executed in Windows 7 x64
..END OF LINE..