Demo Request

Post questions here regarding the CodeSite Express edition

Demo Request

Postby JonRobertson » Thu Sep 15, 2011 4:07 am

Ray,

At Delphi Live, you showed the threaded sort demo with CodeSite logging. You said you could put the demo on the website.

I would really appreciate having a copy of the demo. In particular you separated the messages from the different threads into different tabs in the viewer, and I didn't catch how you sent the messages that gave you the message metadata necessary for separating the threads like that. Nearly every app I debug is multi-threaded and I'd like to play with the sorting demo before I start implementing CodeSite.

Thanks!
JonRobertson
 
Posts: 28
Joined:
Thu Sep 15, 2011 12:08 am

Re: Demo Request

Postby Raize Support » Thu Sep 15, 2011 6:09 pm

Hi Jon,

You can download the source for the ThreadDemo from here:
http://www.raize.com/DevTools/CodeSite/CSThreadDemo.zip

Each CodeSite message automatically records the thread from which it was sent. The only thing special that the Thread Demo does is to utilize the CodeSiteManager.SetThreadName method to associate the dynamically generated Thread ID (from Windows) to a static Thread Name that is used by CodeSite. This is really valuable because it allows multiple runs to have the same set of "threads" created.

To create the multiple views, I used the Message Organizer. It looks at the current set of messages and creates views based on the selected criteria (in this case, Thread). You can also setup of the Message Organizer so that it will create new views based on criteria when new messages arrive. The CodeSite Help has more detailed information.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm


Return to Express Edition

Who is online

Users browsing this forum: No registered users and 1 guest

cron