Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28859 Discussions

Latest IFX debugger problem (TOKENIZE example)

andrew_4619
Honored Contributor III
258 Views

Having loaded the latest release  from 31/10/2024 (2025.0.) I though I would try the TOKENIZE intrinsic having seen another  user post a problem on this:

andrew_4619_0-1730492965237.png

As you can see we correctly write a bunch of herbs to the console but the debugger watch and hover show a whole load of parsley. The Scarborough Fair ballad with Parsley, Parley, Parsley and Parsley doesn't  have the same ring to it.

Thought I would mention this as IFX/Debugger issues are my main outstanding IFX issues. I know some have been fixed for this release.....

 

 

program test
    implicit none(type, external)
    external :: tokentest!, dataproc
    call tokentest()
    pause
    !call dataproc()
    !pause
end program test
subroutine tokentest()
    implicit none(type, external)
    CHARACTER(LEN=:),ALLOCATABLE,DIMENSION(:) :: tokens, separators
    CHARACTER(LEN=3):: delims = ',&'
    CHARACTER(LEN=:),ALLOCATABLE :: herbs
    INTEGER,ALLOCATABLE,DIMENSION(:)  :: begins, ends
    herbs  = 'parsley,sage,rosemary,&thyme'
    CALL TOKENIZE (herbs, delims, tokens, separators)
    write(*,'(A)') tokens
    write(*,'(A)') separators
    CALL TOKENIZE (herbs, delims, begins, ends)
end subroutine tokentest

 

 

0 Kudos
1 Reply
andrew_4619
Honored Contributor III
68 Views

bump

0 Kudos
Reply