NAV2009 Debugger files on client computer?

Alex_Chow
Member Posts: 5,063
I got this site from a Microsoft blog about debugging in NAV2009 RTC:
http://msdn.microsoft.com/en-us/library/dd301071.aspx
The walkthrough seems to only allow the debugging to be run on the server that has the service running.
If I'm working in a client/server environment, how do I get the C# files on the client computer so I can debug from the client computer without taking extra resources from the server?
http://msdn.microsoft.com/en-us/library/dd301071.aspx
The walkthrough seems to only allow the debugging to be run on the server that has the service running.
If I'm working in a client/server environment, how do I get the C# files on the client computer so I can debug from the client computer without taking extra resources from the server?
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
0
Comments
-
you can extract the c# files yourself from Object Metadata from "user code" blob field. When attaching the service, you'll need to connect to the computer where the service tier is running and select the NAV service.0
-
If you want to debug - you need to be on the Service Tier - you can get the C# files to view as mentioned - but debugging is on the service tier AND REMEMBER, when you debug a servicetier - you will debug ALL users using that service tier.
You could just copy the service tier directory from the server to your local machine (in effect setup a new service tier with one user) and debug that.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
freddy.dk wrote:You could just copy the service tier directory from the server to your local machine (in effect setup a new service tier with one user) and debug that.
Interesting, thanks for the tip. Haven't thought about setting up a service tier on the local machine.
However, this seems very excessive just to debug in RTC, doesn't it? If we're in the client environment and the user only has one granule 9100 -Dynamics NAV Server, would this cause a permission problem?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Or use the remote debugger, attach to the Microsoft.Dynamics.Nav.Server.exe and open the source files through the network. The root is "\\yourServiceMachine\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source"-Mihail- [MCTS]0
-
mihail_kolev wrote:Or use the remote debugger, attach to the Microsoft.Dynamics.Nav.Server.exe and open the source files through the network. The root is "\\yourServiceMachine\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source"
That's a good idea. Thanks for the tip!Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Alex Chow wrote:mihail_kolev wrote:Or use the remote debugger, attach to the Microsoft.Dynamics.Nav.Server.exe and open the source files through the network. The root is "\\yourServiceMachine\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source"
That's a good idea. Thanks for the tip!
Just have in mind that if you are attached to the process, other users are unable to connect, I don't know why, but a huge error message appears
you're welcome-Mihail- [MCTS]0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions