Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Questions about Parallel Debug View

In Parallel Debug View, esp. an DebugAction or ParallelAction
1. How to get the nodes of current set? Can I get them by the view object?
2. Suppose there's an IPSession object session, the following _expression_:
session.getPDISession().getExpressionManager().getExpressionValue(session.getTasks(), expr)
 will return an org.eclipse.ptp.debug.core.pdi.model.aif.IAIF object. I got confused that what if
 the 2nd parameter expr (String type) comes different results of all the task IDs (as the first
 parameter, TaskSet type)? I tried to assign it (or them?) to an aif object, but when I use
 aif.getValue().toString(), but it contains only 1 result, how can I get all of the different results?

 There's another _expression_
session.getPDISession().getExpressionManager().getMultiExpression(expr).getExpressions()
 will return an org.eclipse.ptp.debug.core.pdi.model.IPDIExpression array object, does it contain all
 of the available results?
3. There's 2 kinds of pdi evaluate _expression_ requests about AIF, the IPDIEvaluateExpressionRequest
 and the IPDIEvaluateExpressionRequest, what's the difference between them? When and where can I use
 each of them?

P.S. Can you give an example for all of the questions above respectively? Thanks a lot!!!
Btw: What does AIF stand for? What's it by the way?

Thanks regards,
 Krime


Back to the top