I was following the following blog on debugging Here are a couple of things I noticed while doing this on XP.http://blogs.msdn.com/clausl/archive/20 ... -2009.aspx
First after you turn on in customsettnig.config by adding the line
<add key="EnableDebugging" value="true" />
the location where c# is created is in a different folder. It's in
C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server
Inside you'll find a sub folder with a number. This number is equal to process ID of Service Tier. So when you restart Service tier it will get a different Processor ID and all existing folder gets deleted.
If you are debugging in VS 2008 then you have disable a dubbging option "Enable Just My Code"
You cannot debugg for a long time otherwise client will close connection with Service tier. Is there a setting to make that timeout longer somewhere? or a setting for the RT client that it's in debug mode and doesn't disconnect.
The Service tier crashes after this and I had to restart it.