Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Beginner info

Greg

Thanks for the clarifications. It is indeed a pity that work on SDM has been halted, because it is a very nice application in my opinion. As far as I know there is no open source debugger with these capabilities - gdb and idb will work but you always have to attach them to a running process (or processes). Working across different nodes is a pain. With SDM/eclipse its marvelously seamless and so easy to switch from process to process. I used totalview when I was at LLNL but its way to expensive for an academic lab. So I will continue to live with SDM's deficiencies, be very grateful to those who did all the work, and hopeful for further improvements.

Best

Tony

On 08/01/2011 01:19 PM, Greg Watson wrote:
Hi Tony,

First let me point out that very little work has been done on the debugger for a few years. It really needs an overhaul to fix some issues and add new functionality, but unfortunately we haven't been able to find anyone willing to work on it.

To answer your specific questions:

1. Unfortunately this is not supported. The "Arrays" view was the beginnings of an attempt to provide an array/viewer viewer, but unfortunately it was never completed.

2. The second variables view is used to add variables that you want to be displayed when you mouse over one the process icons in the Parallel Debug view. This simplifies seeing the values of the same variable across different processes, rather than having to select the stack frame in the Debug view.

Incidentally, there is another view which I forgot to enable by default in the current release called the "Debug Locations View". You open this by going to Window>Show Views>Other... then selecting Debug Locations View from the Parallel Tools folder. This gives you summary of were all the suspended process in the job are currently located, and how many are at each location.

3.  It looks like the debugger got confused about the variable "h" for some reason. There's a message about 'Unknown variable "h[0..10]"'. Better handing of these types of problems is one of those things that needs to be worked on. For now, I would suggest stopping and restarting the session.

Hope this helps,

Greg

On Jul 30, 2011, at 3:25 PM, Tony Ladd wrote:

I have just started to get acquainted with eclipse (Build 20110615-0604). I am most interested in the capabilities of the ptp debugger which are fantastic. I had a few simple questions:

1) I can't figure out is how to display elements of a vector or array that is dynamically allocated. Ideally we would use a syntax like x[11:17] or A[1,*] etc. In gdb I would use x/7fg x+11 which is not so nice but it works and you don't have to print element by element. I can't figure how to do this in eclipse.

2) What is the second variables window for? I can check variables but I don't see what it does.

3) I sometimes get a lot of java errors in the console window eclipse is running from. It has no observable effect on the application but it doesn't seem quite right. A log file is attached. I am sorry its not a proper log file but a screen capture. I had not realized the log file is lost when eclipse is restarted - I can't reproduce the problem right now, but it was not a one off.

Thanks

Tony

--
Tony Ladd

Chemical Engineering Department
University of Florida
Gainesville, Florida 32611-6005
USA

Email: tladd-"(AT)"-che.ufl.edu
Web    http://ladd.che.ufl.edu

Tel:   (352)-392-6509
FAX:   (352)-392-9514

<log.txt>_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

--
Tony Ladd

Chemical Engineering Department
University of Florida
Gainesville, Florida 32611-6005
USA

Email: tladd-"(AT)"-che.ufl.edu
Web    http://ladd.che.ufl.edu

Tel:   (352)-392-6509
FAX:   (352)-392-9514



Back to the top