How to debug the CSLA server side?

How to debug the CSLA server side?

Old forum URL: forums.lhotka.net/forums/t/2465.aspx


RichardETVS posted on Friday, March 02, 2007

I have a client server application, with Net Remoting. The server app runs as console app; not in IIS.

I would like to debug the server side of CSLA classes, as SimpleDataPortal.

 

Is that possible?

 

Thanks for the help :)

 

Richard

 

ajj3085 replied on Friday, March 02, 2007

Yes, there's a thread I started when I was attempting .Net remoting... near the end Andres and Rocky clue me in on how to debug the server side code... it was only within the last couple of weeks..

RockfordLhotka replied on Friday, March 02, 2007

His case is slightly different though, because he's hosting in a console app. The principle is the same though: put all your projects in a solution and run them.

The trick is to tell VS that when your startup project is run, that some other project should run first. I don't remember how to do that, but it is a setting in some property window somewhere - probably either on the solution or the startup project.

ajj3085 replied on Friday, March 02, 2007

Oh, I saw something like that at the MSDN road show I attended yesterday.

All he has to do is add the server console app to the soltuion.  You can set vs to start multiple projects at once, or you can start the server app, return to VS.net and right click the client project and choose Debug from the context menu.

RichardETVS replied on Tuesday, March 06, 2007

It works fine, ajj, thanks a lot!

ikharus replied on Wednesday, July 18, 2007

This link may help.

http://blogs.technet.com/monicaboris/archive/2005/06/13/406290.aspx

Copyright (c) Marimer LLC