| View previous topic :: View next topic |
| Author |
Message |
Ivan Soleimanipour Posted via mailing list.
|
Posted: Fri Oct 30, 2009 9:48 pm Post subject: Fortran 6.7.1: error in Netbeans cannot access memory at address 0x0 |
|
|
On 10/29/09 17:51, Kevin M. Wilson wrote:
| Quote: | integer, allocatable :: field_count (
allocate (field_count(288)) ! there are as of 10/07/09 only 76 wmo id's
field_count(k) = cntFMs
"when I place the cursor over the above statement"... this message appears:
"cannot access memory at address 0x0"
I have a character array which when the cursor is above displays the data
within the array.
Question, I am not 'assigning' a memory location, so what/why is Netbeans
unable to access the array?
|
Asuming that this is during debugging ...
When you place the cursor above a statement the "balloon evaluation" mechanism kicks in
where it picks an expression, either the token directly under the cursor, or
some "expansion" of it and attempts to evaluate it.
So, no-one is assigning anything and the "access" is a read access.
It's likely that you can reproduce the same error with print commands, er
watches and that would directly implicate the debugger engine and/or the compiler
that generates debugging information for it.
Is the error in a "baloon-eval" "tool-tip" window or in a heavier weight error dialog
that has to be explicitly dismissed? |
|
| Back to top |
|
 |
Ivan Soleimanipour Posted via mailing list.
|
Posted: Fri Oct 30, 2009 11:25 pm Post subject: Fortran 6.7.1: error in Netbeans cannot access memory at address 0x0 |
|
|
On 10/30/09 15:19, Kevin M. Wilson wrote:
| Quote: | Ivan,
I am not sure what this is asking... "Is the error in a
"baloon-eval" "tool-tip" window or in a heavier weight error dialog
that has to be explicitly dismissed?"
|
I was trying to gauge the annoyance factor. The balloon eval window can be "waved away" so
to speak. An error dialog with an OK button is much more of an annoyance.
| Quote: | But the run fails with the same message as the tool tip/balloon mech.
displays!
|
"the run"?
| Quote: |
Thanks for responding, Kevin
Ivan Soleimanipour wrote:
| Quote: | On 10/29/09 17:51, Kevin M. Wilson wrote:
| Quote: | integer, allocatable :: field_count (
allocate (field_count(288)) ! there are as of 10/07/09 only 76 wmo id's
field_count(k) = cntFMs
"when I place the cursor over the above statement"... this message
appears:
"cannot access memory at address 0x0"
I have a character array which when the cursor is above displays the
data
within the array.
Question, I am not 'assigning' a memory location, so what/why is
Netbeans
unable to access the array?
|
Asuming that this is during debugging ...
When you place the cursor above a statement the "balloon evaluation"
mechanism kicks in
where it picks an expression, either the token directly under the
cursor, or
some "expansion" of it and attempts to evaluate it.
So, no-one is assigning anything and the "access" is a read access.
It's likely that you can reproduce the same error with print commands, er
watches and that would directly implicate the debugger engine and/or
the compiler
that generates debugging information for it.
Is the error in a "baloon-eval" "tool-tip" window or in a heavier
weight error dialog
that has to be explicitly dismissed?
|
---
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|