Breakpoint file
gianp
Posts: 36
Hi,
Someone can tell me how build a new breakpoint file or where i can find a document that show how make new breakpoint file?
Tanks so much,
Gianp.
Someone can tell me how build a new breakpoint file or where i can find a document that show how make new breakpoint file?
Tanks so much,
Gianp.
0
Comments
-
Hello Gianp,
Can you give us some more info on:
Are you referring to the debugger?build a new breakpoint fileMet vriendelijke groet, best regards,
Rvduuren0 -
yes I'm referring to make a debug into NAS0
-
You manipulate the breakpoints by setting them in the C/AL editor, and NAV updates the breakpoints file for you. You are not supposed to set breakpoints in the file directly yourself.0
-
Thanks DenSter
But, why in the document w1w1atas.pdf is written:
"You can start Navision Application Server with a breakpoints parameter to enable you to specify a particular file for saving and loading breakpoints.
EXAMPLE
NAS.EXE breakpoints=C:\MyBreakpoints.xml"
What is the sense of C:\MyBreakpoints.xml????
Furthermore I have tried to set a beakpoint into a codeunit before to lauch the NAS but the debbugger is not activated.
Tanks.
Gianp.0 -
The breakpoints.xml file stores the breakpoints that are set, and the best way is to let NAV create the file. Personally I have never used NAS in debug mode. If I need to debug a NAS process I run it from a regular client session, and that has always helped me find the right solution.0
-
to run debugger in NAS you need to add "debug=1" parameter to the NAS. You can specify the breakpoint file to use some different file, but still faster is to use the client with GUI and run the codeunit manually when possible. But sometime you need to debug directly under NAS and you can set the breakpoints in client, find the xml file and use it in NAS.0
-
My problem is slightly different to this.
How do you stop creating a breakpoint file when using the NAS. Every morning the NAS will crash because it says the Breakpoint already exists, so we need to remove this. Also how do you switch the debug off for the NAS?
Many Thanks0 -
Just remove the parameter to disable the debugging. Why the file is still created, I do not know, I noticed this in some situations, but because debugging is not used in live environment, you do not need to solve this...0
-
Am I right in assuming that when you start up the NAS via the Management console it the debugger won't be on by default or will it keep the debugger on from previous sessions?
I have removed the breakpoint file before, but for some reason it tries to to recreate a file every morning. This doesn't happen during the day, it seems to start around about 6 in the morning and continues to show this message until the NAS is stopped manually by one of the IT guys.
I'm struggling to establish what is happening for this to keep happening. I cannot see where is the parameter is defined for the breakpoint either??
#-o0 -
Debugging when running as Service has no meaning, but check the Debug parameter in the registry of the service. It cannot be set through management console...
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<service name>)0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

