- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am now using the gui intel debugger. May I know if it has the ability to give me the maxval, sum etc of variables during interactive debugging.
I need to check that the output from my new and old are similar. It's very troublesome to keep on using print. Else is there any debugger that can accomplish the task, either in linux or also in windows?
Thanks!
I am now using the gui intel debugger. May I know if it has the ability to give me the maxval, sum etc of variables during interactive debugging.
I need to check that the output from my new and old are similar. It's very troublesome to keep on using print. Else is there any debugger that can accomplish the task, either in linux or also in windows?
Thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to use most intrinsic functions in IDB expressions, including print expressions. However, there are some functions that may not work: functions that require special data types or alignment requirements.
Do you have a specific example where this is not working?
ron
Do you have a specific example where this is not working?
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ronald,
Supposed I have this simple code:
program array
implicit none
real :: a(10)
a=1.
...
print *, sum(a)
end program array
I can use the print command to print out the sum of a. However I wonder if I can use intel idb to show me the ans (sum(a)=10) as well?
I tried to input sum(a) in the evaluation and vector evaluation windows but they both can't work.
Thanks again!
Supposed I have this simple code:
program array
implicit none
real :: a(10)
a=1.
...
print *, sum(a)
end program array
I can use the print command to print out the sum of a. However I wonder if I can use intel idb to show me the ans (sum(a)=10) as well?
I tried to input sum(a) in the evaluation and vector evaluation windows but they both can't work.
Thanks again!
![](/skins/images/7FDC486457F5FB4D87FED5D8C92AC987/responsive_peak/images/icon_anonymous_message.png)
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