|
@ -37,6 +37,77 @@ |
|
|
|
|
|
|
|
|
## Uebung 03 (14.11.2022) |
|
|
## Uebung 03 (14.11.2022) |
|
|
|
|
|
|
|
|
|
|
|
### Übung1.java |
|
|
|
|
|
|
|
|
|
|
|
after breakpoint at line 35 |
|
|
|
|
|
|
|
|
|
|
|
enter an integer number: 45 |
|
|
|
|
|
input: 45, Schleifenvariable: 2, Ergebnis 1 |
|
|
|
|
|
input: 45, Schleifenvariable: 3, Ergebnis 0 |
|
|
|
|
|
number 45 passed check: false |
|
|
|
|
|
|
|
|
|
|
|
when i enter 45 after breakpoint |
|
|
|
|
|
*Thread [main] (Suspended (breakpoint at line 35 in Uebung1)) |
|
|
|
|
|
Uebung1.checkNumber(int) line: 35 |
|
|
|
|
|
Uebung1.run() line: 23 |
|
|
|
|
|
Uebung1.main(String[]) line: 17 * |
|
|
|
|
|
|
|
|
|
|
|
when i enter 47 after breakpoint |
|
|
|
|
|
*Thread [main] (Suspended (breakpoint at line 35 in Uebung1)) |
|
|
|
|
|
Uebung1.checkNumber(int) line: 35 |
|
|
|
|
|
Uebung1.run() line: 23 |
|
|
|
|
|
Uebung1.main(String[]) line: 17* |
|
|
|
|
|
|
|
|
|
|
|
###Übung2.java |
|
|
|
|
|
|
|
|
|
|
|
enter an integer number: 22 |
|
|
|
|
|
number 22 passed check: false |
|
|
|
|
|
|
|
|
|
|
|
enter an integer number: 2 |
|
|
|
|
|
number 2 passed check: false |
|
|
|
|
|
|
|
|
|
|
|
enter an integer number: -33 |
|
|
|
|
|
number -33 passed check: true |
|
|
|
|
|
|
|
|
|
|
|
enter an integer number: -4 |
|
|
|
|
|
number -4 passed check: true |
|
|
|
|
|
|
|
|
|
|
|
after breakpoint at line 40 |
|
|
|
|
|
|
|
|
|
|
|
*Thread [main] (Suspended (breakpoint at line 40 in Uebung2)) |
|
|
|
|
|
Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
Uebung2.run() line: 23 |
|
|
|
|
|
Uebung2.main(String[]) line: 17 * |
|
|
|
|
|
|
|
|
|
|
|
after step over |
|
|
|
|
|
|
|
|
|
|
|
*Thread [main] (Suspended (breakpoint at line 40 in Uebung2)) |
|
|
|
|
|
Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
Uebung2.run() line: 23 |
|
|
|
|
|
Uebung2.main(String[]) line: 17 * |
|
|
|
|
|
|
|
|
|
|
|
- in welcher Zeile steht der Debugger? |
|
|
|
|
|
- Zeile 40 |
|
|
|
|
|
|
|
|
|
|
|
- Notieren Sie die Anzahl der Einträge in der *Debug View* |
|
|
|
|
|
- Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
- Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
- Uebung2.run() line: 23 |
|
|
|
|
|
- Uebung2.main(String[]) line: 17 |
|
|
|
|
|
|
|
|
|
|
|
- in welcher Zeile steht der Debugger? |
|
|
|
|
|
- 34 |
|
|
|
|
|
|
|
|
|
|
|
- Notieren Sie die Anzahl der Einträge in der *Debug View* |
|
|
|
|
|
- Uebung2.checkNumber(int) line: 34 |
|
|
|
|
|
- Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
- Uebung2.checkNumber(int) line: 40 |
|
|
|
|
|
- Uebung2.run() line: 23 |
|
|
|
|
|
- Uebung2.main(String[]) line: 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## SU 04 (16.11.2022) |
|
|
## SU 04 (16.11.2022) |
|
|
### Lernziel - **Source Code Management** |
|
|
### Lernziel - **Source Code Management** |
|
|
|
|
|
|
|
|