I am in the process of understanding .NET remoting. I am usually using the
Borland IDE and am not as familiar with Visual Studio. Using VS, how can
you hook into both processes with breakpoints?
Currently you can only have one projects marked as the "Startup Project".
Do I need to run two separate VS sessions?
Thanks
> I am in the process of understanding .NET remoting. I am usually
> using the Borland IDE and am not as familiar with Visual Studio.
> Using VS, how can you hook into both processes with breakpoints?
>
> Currently you can only have one projects marked as the "Startup
> Project". Do I need to run two separate VS sessions?
Start 2 vs.net instances, and attach each one to the process you want
to debug, after loading the source for that project into thte vs.net
instance. Be sure to use a debug build for the processes WITH .pdb
files in place.
Attach using cntrl-alt-P and selecting the machine + process to debug.
Frans

Signature
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Reid Roman - 24 Aug 2005 22:36 GMT
Hello,
Thanks for the reply. I will work on this and post back if I can't get it
working. I did try to just launch two instances of VS, one for the server
and one for the client and the breakpoints did not have any effect on the
running server app.(both apps are on the same machine).
I will give it another shot.
Thanks
Frans Bouma [C# MVP] - 25 Aug 2005 08:40 GMT
> Hello,
>
[quoted text clipped - 3 lines]
> have any effect on the running server app.(both apps are on the same
> machine).
Be sure you run debug builds, and copy the .pdb files to the same
folder as where the .exe is located. Then attaching to the process and
setting/hitting breakpoints is working.
Frans

Signature
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Reid Roman - 25 Aug 2005 15:43 GMT
Ok,
Thanks for the information. I will try this.