Print Page | Close Window

Debug information in the console

Printed From: IdeaBlade
Category: Cocktail
Forum Name: Community Forum
Forum Discription: A professional application framework using Caliburn.Micro and DevForce
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3670
Printed Date: 19-Sep-2025 at 11:32am


Topic: Debug information in the console
Posted By: Walid
Subject: Debug information in the console
Date Posted: 26-Sep-2012 at 1:38pm
Hi,

When I had the cocktail project in my solution I used to have all the cocktail/caliburn logs in the output window. Myself, I was using a lot LogFns.TraceWriteLine to write informations there.

Since I switched to Nuget I don't see anymore the debug trace, yours or mine.

I guess this is because the package on nuget are from the Release build ? if so, if there a way to get the debug package off nuget ?
Not having those informations make difficult the debugging, specially right now with the migration to the v2.



Replies:
Posted By: mgood
Date Posted: 26-Sep-2012 at 3:03pm
You can implement your own logger and write the trace messages to the console yourself.
 
http://drc.ideablade.com/xwiki/bin/view/Documentation/custom-logger - http://drc.ideablade.com/xwiki/bin/view/Documentation/custom-logger
 
You won't get everything, because some message are debug messages and they aren't written in the release build. You can build the debug assemblies from the source code and copy them to your packages folder, overwriting the release assemblies that were downloaded if you want the full debug output.
 
I should probably change everything to trace messages, so one doesn't need the debug assemblies.
 
 



Print Page | Close Window