diff --git a/Debugging.md b/Debugging.md index 5dce890..8162c32 100644 --- a/Debugging.md +++ b/Debugging.md @@ -3,13 +3,13 @@ # Vor entfernen der "slashes" enter an integer number: 5 -number 5 passed check: truefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 5 passed check: true enter an integer number: 10 -number 10 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 10 passed check: false enter an integer number: 15 -number 15 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 15 passed check: false enter an integer number: 2 -number 2 passed check: truefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 2 passed check: true # Nach entfernen der "slashes" @@ -18,16 +18,16 @@ enter an integer number: 5 input: 5, Schleifenvariable: 2, Ergebnis 1 input: 5, Schleifenvariable: 3, Ergebnis 2 input: 5, Schleifenvariable: 4, Ergebnis 1 -number 5 passed check: truefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 5 passed check: true enter an integer number: 10 input: 10, Schleifenvariable: 2, Ergebnis 0 -number 10 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 10 passed check: false enter an integer number: 15 input: 15, Schleifenvariable: 2, Ergebnis 1 input: 15, Schleifenvariable: 3, Ergebnis 0 -number 15 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_86590/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 15 passed check: false enter an integer number: 2 -number 2 passed check: truefdai7760@pc06:~$ +number 2 passed check: true # Nach setzen des "Breakpoints" @@ -35,23 +35,23 @@ enter an integer number: 5 input: 5, Schleifenvariable: 2, Ergebnis 1 input: 5, Schleifenvariable: 3, Ergebnis 2 input: 5, Schleifenvariable: 4, Ergebnis 1 -number 5 passed check: truefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_24e96/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 5 passed check: true enter an integer number: 10 input: 10, Schleifenvariable: 2, Ergebnis 0 -number 10 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_24e96/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 10 passed check: false enter an integer number: 15 input: 15, Schleifenvariable: 2, Ergebnis 1 input: 15, Schleifenvariable: 3, Ergebnis 0 -number 15 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_24e96/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung1 +number 15 passed check: false enter an integer number: 2 -number 2 passed check: truefdai7760@pc06:~$ +number 2 passed check: true # Zahl 45 im Debug-Mode enter an integer number: 45 input: 45, Schleifenvariable: 2, Ergebnis 1 input: 45, Schleifenvariable: 3, Ergebnis 0 -number 45 passed check: falsefdai7760@pc06:~$ +number 45 passed check: false # Zahl 47 im Debug-Mode @@ -66,22 +66,22 @@ input: 47, Schleifenvariable: 4, Ergebnis 3 # Irgendwelche Zahlen enter an integer number: 5 -number 5 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_e36ba/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung2 +number 5 passed check: false enter an integer number: 10 -number 10 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_e36ba/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung2 +number 10 passed check: false enter an integer number: 15 -number 15 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_e36ba/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung2 +number 15 passed check: false enter an integer number: 2 -number 2 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_e36ba/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung2 +number 2 passed check: false enter an integer number: 50 -number 50 passed check: falsefdai7760@pc06:~$ /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp /tmp/vscodesws_e36ba/jdt_ws/jdt.ls-java-project/bin de.edu.hsfulda.pmut.debugging.Uebung2 +number 50 passed check: false enter an integer number: 1 -number 1 passed check: truefdai7760@pc06:~$ +number 1 passed check: true # Zahl 45 im Debug-Mode enter an integer number: 45 -number 45 passed check: falsefdai7760@pc06:~$ +number 45 passed check: false nextInt: 23 nextInt: 16