1
vote
Vote UpVote

Never ever put OutpugDebugString in code that is meant to run on production systems

The Wiert Corner – I just saw this code in the Delphi RTL enabled for RELEASE builds of the procedure TThreadPool.TQueueWorkerThread.Execute; code: {$IFDEF MSWINDOWS} OutputDebugString(PChar(Format('Thread Exiting: %d', [ThreadId]))); {$ENDIF} Never, ever do this. If you code review code that contains it: ensure it has some kind of compile time DEBUG conditional around it. –jeroen
Favorite? Off-Topic? jpluimers @ 2018-12-18 00:04

Statistics

Visits: 253
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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)