Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29314 Discussions

debug doesn't show full fortran string with embedded 0 byte

sgongola
Beginner
1,028 Views
I am trying to use the debugger to view the contents of a
fortran string with embedded zero bytes. Quickwatch, watch
and variable boxes only show the string up to the first
zero byte treating it as a C string terminator.

How can i make the whole string viewable.

Also: How can i see the actual numeric value of each byte
in a string?

I really miss the unix command line dbx debugger.
Maybe one can be included in the IVF distribution!

thank you
sol gongola
0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,028 Views
I don't think the treatment of strings in this regard is under our control. What I do for examining strings in hex is to use the Memory window.

Intel Visual Fortran is planned to include a command-line debugger derived from Compaq/DEC ladebug (currently idb on Linux.)

Steve
0 Kudos
james1
Beginner
1,028 Views
Command line debugger - very good!

James
0 Kudos
Reply