Debugger and errors in RTC mode

ckndr47
ckndr47 Member Posts: 100
edited 2010-05-04 in NAV Three Tier
I have 2 dumb questions, but still i am curious about it.

a) Is there any way we can turn on debugger in RTC mode, so that we can catch the errors and resolve them on fly (wish it was possible, could have made our life so easy).
b) Have gone through reference guide but couldnt find any thing with specific that says "errors in RTC mode and thr resolution". I am sure there should be something.

I idea is to nail down the exact reason for all the RTC based errors.

Any suggestion on the above would be highly appreciated.

Thanks and Regards,

Comments

  • clausl
    clausl Member Posts: 455
    I have created a blog post on how to debug the RTC. It can be found here http://blogs.msdn.com/clausl/archive/20 ... -2009.aspx

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • ckndr47
    ckndr47 Member Posts: 100
    Great Stuff Claus...
    Thanks for sharing..
  • abhishekpareek
    abhishekpareek Member Posts: 150
    Hi All,

    I am not able to find out the 'server' folder to debug navision rtc with visual studion 2008.

    I am using Navision 2009 and vs2008 sp1.

    Please help!

    Thanks,
    Abhishek
  • mohana_cse06
    mohana_cse06 Member Posts: 5,506
    Hi All,

    I am not able to find out the 'server' folder to debug navision rtc with visual studion 2008.

    I am using Navision 2009 and vs2008 sp1.

    Please help!

    Thanks,
    Abhishek

    XP path:C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source
  • Markus_Wolf
    Markus_Wolf Member Posts: 1
    As I understand, in CustomSettings the tag EnableDebugging (<add key="EnableDebugging" value="true"></add>) is to be set on true. NAS is to be restarted and while starting the RTC the sources are written to C:\ProgramData\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Codeunit.

    Unfortunatly, Codeunit remains empty. What can be the reason?

    Found the problem, NAS restarted without reading CustomSettings. Only rebooting the system helped.