AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 17:47

Parameter dieser Suchanfrage:

Suche in Thema: Arraydaten im Debugger anzeigen
Suche alle Beiträge, die von "Kas Ob." geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 4 von insges. 4 Treffern
Suche benötigte 0.000s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Programmieren allgemein

    AW: Arraydaten im Debugger anzeigen

     
      by Kas Ob., 24. Okt 2023
    I am stupid :oops: sorry !

    Anyway, try my example on x64, run it few times and the debugger might start to show junk everywhere or crash, like the debugger itself have problem of uninitialized stuff, also if you tried with cross platform too with x64 (LLVM), the IDE itself might will start to freeze or crash.
  • Forum: Programmieren allgemein

    AW: Arraydaten im Debugger anzeigen

     
      by Kas Ob., 24. Okt 2023
    Ok that was a bad and unreliable example, it takes many times of running and retrying on x64 to crash the debugger and the content of the array goes junk.
  • Forum: Programmieren allgemein

    AW: Arraydaten im Debugger anzeigen

     
      by Kas Ob., 24. Okt 2023
    Thank you and i know that, also saw what Delphi IDE/Compiler can do, please have a look at this code and see why it is crashing on x32 while crashing the debugger itself on x64, on my XE8, so no guarantee on the behavior on newer version though.

    procedure TForm10.FormCreate(Sender: TObject);
    var
    a:array of string;
    begin
    SetLength(a,4);
    a:='string1';
    a:='string2';
    a:='string3';
  • Forum: Programmieren allgemein

    AW: Arraydaten im Debugger anzeigen

     
      by Kas Ob., 24. Okt 2023
    There is no problem in this screenshots, everything is fine.

    That junk is from uninitialized values, eg. when you set the length of an array to lets say 10 then it will receive un-zeroed memory from the memory manager (could be recycled and previously used by something like a TBitmap), so what ever was there it will stay there until been written on, so unless you fill it with data the data...


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=Kas+Ob.&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=213946
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:48 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz