display pointers in user-defined types to user-defined types in fortran

display pointers in user-defined types to user-defined types in fortran

imagem de Haysam Telib

Hello,

I'm using IDB  Version 13.0, Build [79.280.23] on linux to debug my fortran programs.

I often run into the floowing problem:

Imagine having defined two user-defined types my_type1 and my_type2 with one of the components of my_type2 being a pointer to type(my_type1) (see the attached source file).

When I add a variable of type(my_type2) to the evaluation window of IDB, I cannot expand it in order to see its components since IDB crashes.Is there a way of displaying the components of my_type2?

Anyhow when pointing from a user-define type to an intrincisc type the eveluation works well (even if intrinsic type is a component of a user-defined type)

Thanks, Haysam

AnexoTamanho
Download main.f90438 bytes
4 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de bernth-andersson (Intel)

Hi Haysam,

Thank you for reporting this issue. I will investigate the crash and update you shortly.

Regards,
Bernth

imagem de bernth-andersson (Intel)

Hi Haysam,

The crash is a debugger defect. I have generated an erratum report for this and provided a sample to engineering.

Regards,
Bernth

imagem de Haysam Telib

Ok, thank you for the information.
Anyhow in my experience, if variables are declared as allocatable IDB works well. It crashes only if they are declared statically.

Best regards,
Haysam

Faça login para deixar um comentário.