prevent lcldebug.log lazarus / 35-Windows CE ---------------------------------------------------------------------- LA.Center · 2012-04-25 11:14 How can I disable the generation of lcldebug.log on WinCE development. I have a couple of silent exceptions and I don't want lcldebug.log. Does anyone know? ---------------------------------------------------------------------- Martin_fr · 2012-04-25 11:54 Which version of lazarus? The code was changed in 0.9.31, but from review it appears, wince always had the issue. Other widgetsets use standard out, or drop the log, if there is no stdout. Anyway, the real issue is to find, where "DebugLn" is called. This should probably not be called. Before 0.9.31 finding and removing the call to debugln, is the only way I know. With current 0.9.31, you can: uses LazLoggerBase; DebugLogger := TLazLoggerNoOutput.Create; ---------------------------------------------------------------------- felipemdc · 2012-04-25 11:58 Well, in any version you can always modify the lazarus sources and hard code to not generate any file, even in legitimate crashes. After your changes the WinCE code is located in lazarussvn\components\lazutils\lazlogger.pas For older Lazarus just search for the string "lcldebug.log" in lazarus/lcl But indeed Martin, changing the DebugLogger is a nice new way.