- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
The visual studio 2019 debugger seems to not show variables defined in a Use module unless the variable is specifically used somewhere in the code being stepped through in the debugger. Is this normal? Is there another way to be able to see such variables other than adding otherwise unneeded code? If I try to add a Quick Watch for such a variable, visual studio says the variable is undefined, even though it will allow adding a WRITE statement to write out its value.
- Marcas:
- Intel® Fortran Compiler
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Yes, this is normal. Use the syntax modulename::variablename in the QuickWatch window.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Super! That's a nice trick.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
The reason for this is that a symbol by a given name might exist in multiple modules, and unless it is used in the routine, there is no way to know which one you want.

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora