- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello -
When I have an array in an incoming argument, it usually is dimensioned with a
*, i.e. integer(4) a(*), or B(0:*), etc.
The debugger only lets me show the first element in the tablular view.
Is there a way to override this? currently, I have to recompile it with a dimension of say 10, or whatever
is the highest element I want to look at. But this causes prolems if the CODE tries to reference a higher element location, itll trap the instruction.
Plus having to stop and recompile it wastes time.
Is there are way around this?
Yours; Bill S.
When I have an array in an incoming argument, it usually is dimensioned with a
*, i.e. integer(4) a(*), or B(0:*), etc.
The debugger only lets me show the first element in the tablular view.
Is there a way to override this? currently, I have to recompile it with a dimension of say 10, or whatever
is the highest element I want to look at. But this causes prolems if the CODE tries to reference a higher element location, itll trap the instruction.
Plus having to stop and recompile it wastes time.
Is there are way around this?
Yours; Bill S.
- Marcas:
- Intel® Fortran Compiler
Link copiado
3 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You can type A(1:10) in a debugger watch window and see elements 1:10.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I see, but there is no way to get the interactive viewing by
positioning the cursor, I take it?
That was pretty handy.....
Yours; Bill S.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
No, because it doesn't know what the bounds are. Consider using assumed-shape arrays (:) rather than assumed-size (*), though this requires that the caller has an explicit interface visible.

Responder
Opções do tópico
- 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