2
votes
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

Statistics

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

Visits by Source

User Actions

Users who voted for this posting

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

Community Links

Torry Firebird News

Sponsor

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