- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm currently trying to extend autoexp.dat to support some specialised fortran types but I can't get the debugger (VS2008) to recognise them.
It works fine for C++ but is anyone aware of how to do it with fortran (IVF 11.1.054) ?
As an example.
C++ Version: This works
Code:
Fortran Version: This doesn't work
Code:
The example has been based on this article
http://thetweaker.wordpress.com/2009/02/26/2d-matrix-watch-introducing-autoexpdat/
The type declaration for the fortran type in the autoexp.dat is based on the type that displays in the debugger. I've tried a few variations - excluding TYPE(), changing case with no success.
Does anyone have any suggestions ?
Ian
I'm currently trying to extend autoexp.dat to support some specialised fortran types but I can't get the debugger (VS2008) to recognise them.
It works fine for C++ but is anyone aware of how to do it with fortran (IVF 11.1.054) ?
As an example.
C++ Version: This works
Code:
struct MatrixLine
{float f1, f2, f3, f4; };
Autoexp.dat:MatrixLine{
preview(#([$c.f1,f],", ",[$c.f2,f],", ",[$c.f3,f],", ",[$c.f4,f]))
children([$c,!])
}
Fortran Version: This doesn't work
Code:
TYPE MatrixLineF
REAL f1
REAL f2
REAL f3
REAL f4
END TYPE
TYPE (MatrixLineF) :: ml
Autoexp.dat:TYPE(MATRIXLINEF){
preview(#([$c%f1,f],", ",[$c%f2,f],", ",[$c%f3,f],", ",[$c%f4,f]))
children([$c,!])
}
The example has been based on this article
http://thetweaker.wordpress.com/2009/02/26/2d-matrix-watch-introducing-autoexpdat/
The type declaration for the fortran type in the autoexp.dat is based on the type that displays in the debugger. I've tried a few variations - excluding TYPE(), changing case with no success.
Does anyone have any suggestions ?
Ian
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this will work with Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was the conclusion I was coming to but I thought there may beapossibilityof someonehavinga clever way of doing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I asked our experts here and they say that this is implemented in the C expression evaluator and that Fortran's has no support for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation, Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page