|
@ -19,4 +19,69 @@ ich lerne git |
|
|
- commit and pushed the Branch. |
|
|
- commit and pushed the Branch. |
|
|
- created Merge request for the Branch to merge in main Branch |
|
|
- created Merge request for the Branch to merge in main Branch |
|
|
- merged the Branch. |
|
|
- merged the Branch. |
|
|
|
|
|
### Debugging übung |
|
|
|
|
|
- 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: true |
|
|
|
|
|
Process finished with exit code 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- enter an integer number: 121 |
|
|
|
|
|
input: 121, Schleifenvariable: 2, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 3, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 4, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 5, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 6, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 7, Ergebnis 2 |
|
|
|
|
|
input: 121, Schleifenvariable: 8, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 9, Ergebnis 4 |
|
|
|
|
|
input: 121, Schleifenvariable: 10, Ergebnis 1 |
|
|
|
|
|
input: 121, Schleifenvariable: 11, Ergebnis 0 |
|
|
|
|
|
number 121 passed check: false |
|
|
|
|
|
Process finished with exit code 0 |
|
|
|
|
|
|
|
|
|
|
|
- After breakpoint line 35 |
|
|
|
|
|
nextInt = 5 |
|
|
|
|
|
I = 2 |
|
|
|
|
|
Result = 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- NextInt = 8 |
|
|
|
|
|
I = 2 |
|
|
|
|
|
Result = 0; |
|
|
|
|
|
|
|
|
|
|
|
- After debugging on line 47 |
|
|
|
|
|
|
|
|
|
|
|
message = „ enter an integer number“ |
|
|
|
|
|
nextInt = 5(type by me) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Übung2 |
|
|
|
|
|
|
|
|
|
|
|
- enter an integer number: 5 |
|
|
|
|
|
number 5 passed check: false |
|
|
|
|
|
Process finished with exit code 0 |
|
|
|
|
|
|
|
|
|
|
|
- enter an integer number: 9 |
|
|
|
|
|
number 9 passed check: false |
|
|
|
|
|
Process finished with exit code 0 |
|
|
|
|
|
|
|
|
|
|
|
- After breakPoint line 40 |
|
|
|
|
|
nextInt = 3 |
|
|
|
|
|
Count = 3 |
|
|
|
|
|
|
|
|
|
|
|
- Enter the integer 45 |
|
|
|
|
|
nextInt = 23 |
|
|
|
|
|
Count = 3 |
|
|
|
|
|
|
|
|
|
|
|
- Anzahl der Einträge = 2 |
|
|
|
|
|
After der stopover debugger steht Zeile 23 |
|
|
|
|
|
|
|
|
|
|
|
- Anzahl der Einträge in der Debug View |
|
|
|
|
|
|
|
|
|
|
|
- After step into zeile 24 |
|
|
|
|
|
|
|
|
|
|
|
- isCheckPassed = false |
|
|
|
|
|
|