speeddebug.pp 850 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2003 by the Free Pascal development team
  5. speed test for debug server.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$mode objfpc}
  13. {$h+}
  14. program testdebug;
  15. uses dbugintf,sysutils;
  16. Var
  17. i : integer;
  18. S : String;
  19. begin
  20. For I:=1 to 10000 do
  21. begin
  22. S:=Format('Message no %d',[i]);
  23. SendDebugEx(S,TDebugLevel(I mod 3));
  24. end;
  25. end.
  26. {
  27. $Log$
  28. Revision 1.1 2003-01-02 14:44:29 michael
  29. + Initial implementation
  30. }