- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were running
Intel Fortran Compiler Integration for Microsoft Visual Studio .NET 2002, Version 9.1.3663.2002, Copyright (C) 2002-2006 Intel Corporation
With MicroSoft Studio .NET.
How do we get the address of the debugged variables to be available.
We get the name, value and type but not the address.
Is there some setting we have to change under Properties for the project?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Type the variable name into the Memory Watch window. Once entered, the memory watch window shows the Hex address.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LOC is your friend.
In a Watch window, enter
LOC(variable)
as the name of the entity to be Watch'd. Change the display radix to hex if you want or, moresimply, enter
LOC(variable),x
to display the address in hex regardless of the default display radix.
You can also "watch"
ALLOCATED(variable)
and
ASSOCIATED(variable).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Didn't know that. Thanks for the tip Jeff.
So some of the intrinsics are known by the debugger.
Back in the old days (ca 1992)using Borland C++ you could enter in a function name with arguments and it would call your function.
Jim Dempsey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page