Debugging RTC Pages in NAV2009
1.
Go to C:->Program Data-> Microsoft->Dynamics
Nav->60->Server->Microsoft
Dynamics Nav Server->Source -> Codeunit. Here you can find the
source of the pages DLL files written in C#, if the pages are generated
successfully.
2.
Go to C:\Program Files (x86)\Microsoft Dynamics
NAV\60\Service. Give full control to CustomSettings.config file.
3.
Opne CustomSettings.config file. Make the enable
debugging key to true by editing the following settings for making the RTC page debugging possible :
<add key="EnableDebugging" value="True"></add>
4.
Run Visual Studio as Administrator.
5.
Open the RTC page DLL file.
6.
Go to Tools->Attach Process. Place check mark in
Show Process from All Users check box.
7.
Select the Nav Server process .
8.
In the Page, put breakpoints wherever required.
9.
Run RTC page in Nav. Then in Visual studio the code
execution will be stopped at the break point.
This way, you can make the RTC pages debugging
possible.
***Thank you very much***