Commit c8d6a6b0 authored by michael.kirsten's avatar michael.kirsten
Browse files

Removed annoying sysout messages.

parent bf35f666
No preview for this file type
This diff is collapsed.
//Calculate the factorial of k recursively.
//other functions must be declared before the main
int fac(int k) {
if (k <= 1)
return 1;
......@@ -9,7 +8,6 @@ int fac(int k) {
return res;
}
//every program needs a main method
int main(int k) {
int res;
res = fac(k);
......
......@@ -288,7 +288,7 @@ public class DebugControl {
* @throws DIbuggerLogicException
*/
public void createWatchExpression(int id, String expr) throws DIbuggerLogicException {
System.out.println("Add watch expression: "+id+" "+expr);
// System.out.println("Add watch expression: "+id+" "+expr);
while (list_watchExpressions.size() - 1 < id) {
list_watchExpressions.add(null);
}
......@@ -307,7 +307,7 @@ public class DebugControl {
* @throws DIbuggerLogicException
*/
public void changeWatchExpression(int id, String expr, List<ScopeTuple> scopes) throws DIbuggerLogicException {
//System.out.println("Change watch expression: "+id+" to "+expr);
// System.out.println("Change watch expression: "+id+" to "+expr);
if (id < list_watchExpressions.size()) {
WatchExpression e = list_watchExpressions.get(id);
if (e != null) {
......@@ -327,7 +327,7 @@ public class DebugControl {
* the id of the watch expression
*/
public void deleteWatchExpression(int id) {
System.out.println("Remove watch expression: "+id);
// System.out.println("Remove watch expression: "+id);
if (id == list_watchExpressions.size() - 1) {
list_watchExpressions.remove(id);
} else {
......@@ -583,8 +583,8 @@ public class DebugControl {
*/
public List<Integer> getWEScopeBegin(int expressionID) {
List<Integer> l = new ArrayList<Integer>();
System.out.println("Get Expression: "+expressionID);
System.out.println("From: "+list_watchExpressions);
// System.out.println("Get Expression: "+expressionID);
// System.out.println("From: "+list_watchExpressions);
if(list_watchExpressions.get(expressionID)!=null) {
for (ScopeTuple it : list_watchExpressions.get(expressionID).getScopes()) {
l.add(it.getStartLine());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment