Error on VS breakpoints

lvanvugt
Member Posts: 774
Today I continued debugging an RTC proces, using Visual Studio as described here, to be confronted with the fact that the debugger was not activated at all.
Looking at the breakpoint in the corresponding .cs file (in VS) each break point showed the following info:
[In text: The breakpoint will not currently be hit. No symbols have been loaded for this document.]
I have tried the following to no avail:
Questions:
Looking at the breakpoint in the corresponding .cs file (in VS) each break point showed the following info:
[In text: The breakpoint will not currently be hit. No symbols have been loaded for this document.]
I have tried the following to no avail:
-
1. disabled the key="EnableDebugging" in the CustomSettings.config`
2. restarted the Service Tier
3. restarted the RTC
4. made sure all .cs files were deleted
5. denabled the key="EnableDebugging" in the CustomSettings.config`
6. restarted the Service Tier
7. restarted the RTC
8. made sure all .cs files were recreated
Questions:
-
a. why do I get this message anyway?
b. how to get it all work agian?
0
Answers
-
Well of course. If it had stopped I would not have posted this.0
-
have you tried this:
In VS - Tools->Options->Debugging - turn off the "Require source files to exactly match the original version" option?-Mihail- [MCTS]0 -
deV.ch wrote:have you tried running VS as administrator?mihail_kolev wrote:VS - Tools->Options->Debugging - turn off the "Require source files to exactly match the original version" option?0
-
But now I found out what was wrong.
How to: Attach Visual Studio to the Microsoft Dynamics NAV Server Service tells me in step 5
Under Available processes, select Microsoft.Dynamics.Nav.Server.exe from the Available Processes list.
And that's what I did, but only the first time. Later on I attached it to Microsoft.Dynamics.Nav.Client.exe . Stupid me. ](*,)
Thanx guys for your time.0 -
By the way: I recently needed to debug a client-addin in an R2 version and noticed that the debugger doesn't stop at the breakpoints if you have started the page from designer and then attached the debuger. You need to start RTC manually, attach to the process, then you can run the page (from RTC or Object Designer)!
So alsways start RTC Client directly first!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