From 68a6edd06db2646188d132ebe5e929963a14a91c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Oct 2018 09:20:20 +0200 Subject: debug-Versionen neu --- .gitignore | 1 + raetsel.lpi | 62 ++++++++++++++++++++++++++++++++++++++- raetsel.lpr | 12 ++++++++ raetsel.lps | 97 +++++++++++++++++++++++++++++++------------------------------ unit1.pas | 7 +++++ 5 files changed, 131 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index 09ebc93..f769ec7 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ backup *.bak lib/* raetsel +raetsel-debug diff --git a/raetsel.lpi b/raetsel.lpi index 77e790c..b172cfa 100644 --- a/raetsel.lpi +++ b/raetsel.lpi @@ -13,7 +13,7 @@ - + @@ -39,6 +39,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/raetsel.lpr b/raetsel.lpr index 672f9ca..720aa2b 100644 --- a/raetsel.lpr +++ b/raetsel.lpr @@ -12,9 +12,21 @@ uses {$R *.res} begin + {$IFDEF DEBUG} + writeln('Anfang'); + {$ENDIF} requireDerivedFormResource:=true; application.initialize; + {$IFDEF DEBUG} + writeln('application.initialize;'); + {$ENDIF} application.createForm(tForm1, form1); + {$IFDEF DEBUG} + writeln('application.createForm(tForm1, form1);'); + {$ENDIF} application.run; + {$IFDEF DEBUG} + writeln('application.run;'); + {$ENDIF} end. diff --git a/raetsel.lps b/raetsel.lps index e0413a6..1b7bfc1 100644 --- a/raetsel.lps +++ b/raetsel.lps @@ -7,8 +7,9 @@ + - + @@ -18,8 +19,8 @@ - - + + @@ -37,7 +38,6 @@ - @@ -155,125 +155,128 @@ + + + - - + + - + - + - + - + - + - + - - - - - - + + + + + + - + - - - - - - + + + + + + - + - - - - + + + + - + - + - + - - - - + + + + - + - + - + - - + + - + - - - - + + + + diff --git a/unit1.pas b/unit1.pas index 84cda28..cf26780 100644 --- a/unit1.pas +++ b/unit1.pas @@ -45,7 +45,13 @@ end; procedure tForm1.formCreate(sender: tObject); begin + {$IFDEF DEBUG} + writeln('procedure tForm1.formCreate(sender: tObject);'); + {$ENDIF} application.createForm(tForm2, form2); + {$IFDEF DEBUG} + writeln('application.createForm(tForm2, form2);'); + {$ENDIF} case form2.showmodal of mrBuchstabenraetsel: raetsel:=tBuchstabenRaetsel.create(form1); @@ -54,6 +60,7 @@ begin else begin raetsel:=nil; application.terminate; + exit; end; end; raetsel.onSetCaption:=@onSetCaption; -- cgit v1.2.3-70-g09d2