Snapshot debugging is the best way to debug the Business Central cloud production environment. It records AL codes that run on the server and after finishing the debugging all recorded snapshots are downloaded to your local project. You can debug any previously downloaded snapshots offline (Without connecting to the BC cloud server).
Tag Archives: Debugging
Getting started with Snapshot Debugging in Business Central
Today I tried for the first time (Duh Silviu …. it’s been out there for at least a year!!!) to debug a snapshot. I started my exercise on Microsoft Docs here. Also, very useful was Stefano’s blog.
But first, what is a snapshot? A snapshot is a recording of executed code in Business Central.
Bootcamp Notes: Debugging
Didn’t we all wait for an easy way to debug the RTC? In NAV 2013 this is finally possible. This post won’t be to big, as most of the things can be mentioned pretty quickly.
NAV 2013 | Debugging (1)
NAV 2013 has a new debugger. It allows us to debug the RTC.
But that does not mean that Microsoft has just migrated the debugger from Classic to RTC. No, they’ve done much more. It’s quite a cool and complete debugger that allows you to do much more than we used to.
Debugging NAV 2013 Is Easy
We’ve never had a debugger quite this powerful and versatile. Debugging NAV 2013 is Easy!
By nature I am a pessimist. In any situation I tend to look for problems and point them out to everyone. Since my goal of pointing out the problems is always to SOLVE them, and leave the situation in a better state than I found it, I personally consider my natural pessimism a very positive attribute.
RTC debugging
For this example we will be using Microsoft Dynamics NAV 2009 R2 and Microsoft Visual Studio 2010 Professional.
Create a page
To use as an example for debugging, let’s create an empty page (for example 50000 RTCDebugTest) with a new action called “Messages”. In code of this action, we create two local variables:
Walkthrough: Debugging an Action on a Page
The following walkthrough demonstrates debugging an action on a page with Visual Studio. If you customize or create new objects for the RoleTailored client, then consider debugging those objects.