Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

"Object reference not set to instance of an object" ????

WSinc
New Contributor I
1,203 Views

I sent this before on 9/12, with a screen shot attached.

No one ever responded -

Anyway, it only occurred after I downloaded the new Fortran.

It happens when I try to modify the source code while still debugging.

I thought that was permissible (?)

In other words, if I stop debugging, I CAN modify the source code OK.

In previous versions, that never happened. So there is now some (unwanted) interaction between the source code

editor and the debugger that didn't occur before.

Sometimes it just crashes with an exception.

On the other CPU, I still have the older Fortran, it does not ever happen there.

 Is this something you don't want to dscuss?

0 Kudos
8 Replies
Steven_L_Intel1
Employee
1,203 Views
If you can find a way to reliably reproduce it, we'll look into it. Your post before was rather ambiguous about what you were seeing.
0 Kudos
jimdempseyatthecove
Honored Contributor III
1,203 Views
This may have to do with Visual Studio Intelisense integration with the VS Debugger. Try temporarrily disabling VS Intelisense to see if the problem goes away. This will help isolate the problem, and may lead to earlier resolution. Jim Dempsey
0 Kudos
WSinc
New Contributor I
1,203 Views
How do I turn that off? could not find anything about that anywhere. I can't be "reliable" because it does not always do it. Just because it's an intermittent problem, is that a reason to ignore it? I sent a screen snapshot. Is that ambiguous?
0 Kudos
WSinc
New Contributor I
1,203 Views
Here is another screen shot. It's a JPEG file. This happens fairly often. You can see where I am trying to insert code after line 6. I get that every time. I do not get that when i DELETE code however.
0 Kudos
jvandeven
New Contributor I
1,203 Views
I have the same problem popping up sporadically - as billsincl notes, it occurs when I try to edit the code while it is still in debug mode.
0 Kudos
Steven_L_Intel1
Employee
1,203 Views
Thanks for the screenshot and the confirmation that this happens during debugging. I have escalated this to development as issue DPD200236858. I know that they have fixed a different problem with editing while debugging in the upcoming Update 1, so that might (perhaps) also fix this. I will let you know what I hear from the developers. You might try, as a workaround, setting options under Tools > Options > Text Editor > Fortran > Advanced to False. I would start with the choices under Intrinsics, Miscellaneous and Outlining.
0 Kudos
Steven_L_Intel1
Employee
1,203 Views
The developers tell me that they have fixed this for Update 1, due sometime this month.
0 Kudos
Steven_L_Intel1
Employee
1,203 Views

Verifying that it was fixed.

0 Kudos
Reply