Native end-and-continue option breaks quickwatch

Native end-and-continue option breaks quickwatch

Hi,

Has anybody else noticed that enabling native edit-and-continue in VS2012 seems to break the watch functionality (both quickwatch and the watch tool window) in fortran projects?

Unfortunately I need this option to enable edit-and-continue in our C++ components, but now I cant debug fortran. Although strangely the 'locals' window does still show some variables and their values, but not all variables are listed.

Any ideas? Thanks.

10 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

I wasn't aware of this - I know that edit-and-continue disables Fortran traceback, but it shouldn't affect debugging.  I will try some experiments.

Steve - Intel Developer Support

I can reproduce this. I had not encountered this new VS2012 feature before. Very odd that it interferes with the Fortran debugging.  I will let the developers know, I do note that MSDN says that this option disables some debugger expression viewer enhancements, which may include disabling of alternative expression evaluators.

Steve - Intel Developer Support

Thanks for looking into it Steve. I guess for now I'll have to disable it if I need to debug fortran code, but hopefully a fix can be found soon.

It's possible that there's nothing we can do, as it looks to me as if the Fortran expression evaluator is not even being called. But we'll see.

Steve - Intel Developer Support

Sorry, our hands are tied on this. As hinted by the text on the options page, VS doesn't even call the Fortran debug expression evaluator and we have no control over that. I am mystified, though, that I can't find any documentation by Microsoft that describes this new feature. Can you explain what it does and why it is important?

Steve - Intel Developer Support

Steve,

Edit-and-continue allows us to make changes to the code at run-time when the debugger is paused and automatically recompiles the change, relinks and resumes execution without having to stop the program. In our case, this saves us a LOT of time when debugging since our program contains 60+ projects with a lot of dependancies.

I dont know why the native option was added, but without it we can not use edit-and-continue in our C/C++ projects.

I know what normal edit-and-continue is - MSVC has had that for a long time. But this "native" option is new and I can't find a description of what is different about it.

Steve - Intel Developer Support

Ah ok, I misunderstood your question. I have no idea either, other than its required for edit-and-continue to work in C/C++. I've spoken with a microsoft support engineer and they couldnt tell me either. If I manage to find any details I'll let you know though.

It might have to do with using EAC on an x64 program, given that VS is still itself a 32-bit application. I think you can still use EAC without the "native" option set - at least you've been able to do that for several VS versions.

Steve - Intel Developer Support

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi