AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Arraydaten im Debugger anzeigen

Ein Thema von ManfredU · begonnen am 24. Okt 2023 · letzter Beitrag vom 30. Sep 2024
 
Kas Ob.

Registriert seit: 3. Sep 2023
412 Beiträge
 
#2

AW: Arraydaten im Debugger anzeigen

  Alt 24. Okt 2023, 15:34
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 inside it will be junk from your prospective but it is just residue.

The Chinese chars are from the junk of data because the uninitialized strings might have a value that land on valid and accessible memory showing arbitrary lengths and content.

To be on safe side you can/should zero such arrays with managed types before start to fill them.
Kas
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:44 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz