Vote UpVote

Until someone writes proper string visualisers for the Delphi debugger…

The Wiert Corner – A few tricks to write long strings to files when the Delphi debugger cuts them off (just because they like using 4k buffers internally); TStringStream.Create(lRequestMessage).SaveToFile('c:\temp\temp.txt') TIniFile.Create('c:\a.txt').WriteString('a','a',BigStringVar) TFileStream.Create('c:\a.txt', fmCreate or fmShareDenyNone).WriteBuffer(Pointer(TEncoding.UTF8.GetBytes(BigStringVar))^,Length(TEncoding.UTF8.GetBytes(BigStringVar))) Via: [WayBack] I remember seeing a trick to write a string from the Debug Evaluate/Modify window to a file, but forgot where.  – Jeroen Wiert Pluimers ...
Favorite? Off-Topic? jpluimers @ 2017-10-31 06:04


Visits: 4945
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Ph. B.
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)