DOCUMENT:Q106724 03-NOV-1999 [fortran] TITLE :Debugger Message EE0029 Cannot Access User Memory PRODUCT :Microsoft Fortran Compiler PROD/VER::1.0,1.0a OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft FORTRAN PowerStation for MS-DOS, versions 1.0, 1.0a ------------------------------------------------------------------------------- SUMMARY ======= The PowerStation debugger displays the following message EE0029 Error: Cannot access user memory in the Watch window when a formal argument of a subroutine or function cannot be displayed. A formal argument can be viewed only if the current point of execution is within the subprogram accepting the formal argument. Once the first line of the subprogram has been executed, the formal arguments display correctly in the Watch window. This problem does not occur with FORTRAN PowerStation 32. MORE INFORMATION ================ The EE0029 error can be generated by following these steps: 1. Build the sample code with the project in debug mode. 2. Set a breakpoint on the line with "a = c+1.2" and GO (press F5). 3. Set a watch on a and c. The value for c will be: EE0029 Error: Cannot access user memory. 4. Single step once and the value of c will now be displayed. Sample Code ----------- Compile options required: /Zi real*4 b b = 2. call sub (b) end subroutine sub (c) integer*4 a real*4 c a = c+1.2 print*, a return end Additional query words: kbinf 1.00 nofpsnt ====================================================================== Keywords : Technology : kbAudDeveloper kbFortranSearch kbZNotKeyword3 kbFORTRANPower100DOS kbFORTRANPower100aDOS Version : :1.0,1.0a ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.