Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • thomas_boehmeJuly 2, 2009 12:53 AM PDT   
    Allocatable defered length strings not visible in VS2008 debugger

    I cannot see the values of allocatable, defered length strings in the VS2008 debugger when using IVF 11.1
    All I get is "Substring arguments out of bounds"

    Here is the sample code:

        program StringLength
        implicit none
        ! Variables
        character(:),allocatable    :: test  
        test = 'abc'  
        write(*,*)  test
        end program StringLength
    



    I did specify /assume:realloc_lhs and the code works without problems. Is that a known problem and can we expect this to be fixed soon?

    regards,
    Thomas



    Steve Lionel (Intel)July 2, 2009 5:45 AM PDT
    Rate
     
    Re: Allocatable defered length strings not visible in VS2008 debugger

    I'll report this to the developers.  When I get more information, I'll let you know.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    thomas_boehmeJuly 7, 2009 5:30 AM PDT
    Rate
     
    Re: Allocatable defered length strings not visible in VS2008 debugger

    I'll report this to the developers.  When I get more information, I'll let you know.

    Hi Steve,

    should I also report such issues to Premier Support or is it sufficient to report to the forum?

    I hope that this will be fixed very soon, as not being able to see the string content during debug currently makes it very inconvenient  to use defered length strings.

    regards,
    Thomas
     

    Steve Lionel (Intel)July 7, 2009 6:03 AM PDT
    Rate
     
    Re: Allocatable defered length strings not visible in VS2008 debugger

    Here only is fine - it's already being investigated.  Issue ID is DPD200137717.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    thomas_boehmeSeptember 28, 2009 2:40 AM PDT
    Rate
     
    Re: Allocatable defered length strings not visible in VS2008 debugger

    The problem still occurs with 11.1.046. Can we expect this to be fixed soon?



    Steve Lionel (Intel)September 28, 2009 7:32 AM PDT
    Rate
     
    Re: Allocatable defered length strings not visible in VS2008 debugger

    Not soon - we found that this needs some design work in the compiler.  It will get fixed, but I can't predict when.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,321 threads and 172,753 posts to date.

In the past 24 hours, we have 16 new thread(s) 57 new posts(s), and 54 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


For more complete information about compiler optimizations, see our Optimization Notice.