sc=newSimulationCommand("add-breakpoint","abp","11",params,paramNames,"Set a breakpoint in task which id is the first parameter on the command provided as the second parameter");
commandList.add(sc);
// choose-branh
params=newint[3];
paramNames=newString[3];
params[0]=1;
paramNames[0]="task ID";
params[1]=0;
paramNames[1]="command ID";
params[2]=0;
paramNames[2]="branch ID";
sc=newSimulationCommand("choose-branch","cb","12",params,paramNames,"Chooses the branch of the given command of a task");
commandList.add(sc);
// get-breakpoint-list
params=newint[0];
paramNames=newString[0];
...
...
@@ -246,6 +259,12 @@ public class CommandParser {
sc=newSimulationCommand("get-info-on-hw","gioh","4",params,paramNames,"Returns information on hardware nodes of the architecture");
commandList.add(sc);
// get-number-of-branches
params=newint[0];
paramNames=newString[0];
sc=newSimulationCommand("get-numer-of-branches","gnob","17",params,paramNames,"Returns the number of branches the current command has");