Friday, February 20, 2015

Application Profiler/CODE COVERAGE in Navision 2013 R2

In the previous versions of Navision we use to have code coverage which is used to trace C/AL Code and the developers used to have the ability to scan the piece of code which is executed during an action,process. This tool was very helpful in debugging. Even in Navision 2013 Microsoft shipped Application tool set which includes code coverage tool but in later version we don’t have this option.

In this blog I try to explain the options we have for Navision 2013 R2.  The tool which is available for Navision 2013 R2 is Application profiler and which can be downloaded from the following link

http://navappprofiler.codeplex.com/

The downloaded file has DLLs and few objects in .txt format. It also has readme file which will guide you through the easy install process.  Rename the objects numbers if you already used them.

In order to run the code coverage run the Page 50000/ Performance Profiler

image

In order to trace the C/AL code for an action, please select the session you want to execute the trace for from the Target Session ID and click Start.

After executing the actions click stop. In the below example I executed the post action for the sales order.

The data it collects is combination of SQL Statements and C/AL code as shown in the below figure.

image

In order to view only the C/AL code try to set the filter for the object ID <> 0 and you will see all the C/AL statements it executed for the action. You can view all the code and analyze it from the result set.

I have not tested this on 2015 but I believe it will work on it. When I get sometime I will test it on NAV2015 and post the results.

Please leave your questions and suggestions in the comment section.

Share:

24 comments:

sheela rajesh said...

Thanks for sharing,this blog makes me to learn new thinks.
interesting to read and understand.keep updating it.
Selenium Training in Chennai
selenium training in velachery
JAVA Training in Chennai
Python Training in Chennai
Big data training in chennai
Android Training in Chennai
Selenium Training in Chennai
Selenium Training in Anna Nagar

Madhi Priya said...

important blog with fresh content
python courses in Bellandur|python courses in Marathahalli
selenium testing Training in Bellandur|selenium testing Training in Marathahalli

praveen jos said...

it was a great informative blog. thanks for it
selenium testing courses in Bellandur|selenium testing courses in Marathahalli
python Training in Bellandur|python Training in Marathahalli

Alex Avid said...

I went through your blog its really interesting and holds an informative content. Thanks for uploading such a wonderful blog.
python courses in Bellandur|python courses in Marathahalli
selenium testing courses in kalya Nagar|selenium courses in Marathahalli
devops courses in Bellandur|devops courses in Marathahalli
python courses in bangalore|python training in bangalore

ramya said...

Its an interesting with informative content. Thanks for this blog
python courses in Bellandur|python courses in Marathahalli
selenium testing courses in kalya Nagar|selenium courses in Marathahalli
devops courses in Bellandur|devops courses in Marathahalli
python courses in bangalore|python training in bangalore
python courses in bangalore

nisha raj said...

Your post is really awesome. It is very helpful for me to develop my skills in a right way.keep sharing such a worthy information
python training in marathahalli|python training in Bellandur
selenium training in bangalore|selenium training in kalyan nagar
devops training in bangalore|devops training in Marathahalli
phthon training in bangalore

dhanush kumar said...

Your post is just outstanding! thanx for such a post,its really going great and great work.
python training in kalyan nagar|python training in marathahalli
selenium training in marathahalli|selenium training in bangalore
devops training in kalyan nagar|devops training in bellandur
phthon training in bangalore

Alex Avid said...

Your post is just outstanding! thanx for such a post,its really going great and great work.
python training in kalyan nagar|python training in marathahalli
selenium training in marathahalli|selenium training in bangalore
devops training in kalyan nagar|devops training in bellandur
phthon training in bangalore

Prakash said...

Wonderful Post!!! Thanks for sharing this great blog with us.
Android Training in Chennai
Android Training Institute in Chennai
android training center in chennai
app development course in chennai
Android Training in Tnagar
Android training in Thiruvanmiyur
Big data training in chennai
Software testing training in chennai
Selenium Training in Chennai
JAVA Training in Chennai

arolincy said...

I really liked and I got some innovative ideas for improving my thoughts from well defined content.
IELTS Coaching in Chennai
IELTS Coaching centre in Chennai
French Classes in Chennai
pearson vue test center in chennai
Informatica Training in Chennai
Data Analytics Courses in Chennai
IELTS Coaching in OMR
IELTS Coaching in Porur

jagedheesh kumar said...

A big thanks for this sharing this awesome post with us. Read it recently and felt very happy on reading every bit of the blog.
salesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore

The India said...

Popular Fashion Blogs in Surat
Fashion Blogger in Surat
Surat Blogger
Indian Fashion Blogger
Fashion Blogger in India

Pooja Patel said...

Awesome Post!!! Thanks for sharing this great post with us.
JAVA Training in Chennai
java class
Best JAVA Training in Chennai
JAVA Training in Tnagar
java training in Thiruvanmiyur
Big data training in chennai
Software testing training in chennai
Android Training in Chennai
Selenium Training in Chennai
Python Training in Chennai

dhanush kumar said...

Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.

salesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore

Riya Raj said...

Phenomenal Blog!!! thanks for your post and awaiting for your new updates...
Digital Marketing Course in Chennai
Digital Marketing Training in Chennai
Digital Marketing Training
Digital Marketing Course
Digital marketing course in Tambaram
Digital marketing course in Guindy
Python Training in Chennai
Big data training in chennai
SEO training in chennai
JAVA Training in Chennai

praveen jos said...

I went through your blog its really interesting and holds an informative content. Thanks for uploading such a wonderful blog.
Data Analytics with R Training in Bangalore|Hadoop training center in bangalore
AWS training in bangalore|AWS training in marathahalli
Python training in marathahalli|Python training in bangalore
Hadoop training in marathahalli

Alex Avid said...

I went through your blog its really interesting and holds an informative content. Thanks for uploading such a wonderful blog.
Data Analytics with R Training in Bangalore|Hadoop training center in bangalore
AWS training in bangalore|AWS training in marathahalli
Python training in marathahalli|Python training in bangalore
Hadoop training in marathahalli

Archana said...

Your post is really awesome. It is very helpful for me to develop my skills in a right way.keep sharing such a worthy information
salesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore

Deepthi said...

I'm really happy with your blog because your post is very unique and powerful for new readers...
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore

Pixies said...

Excellent blog thanks for sharing Run your salon business successfully by tying up with the best beauty shop in Chennai - The Pixies Beauty Shop. With tons of prestigious brands to choose from, and amazing offers we’ll have you amazed.
Cosmetics Shop in Chennai

Adhuntt said...

Great blog thanks for sharing Masters of building brands, Adhuntt Media is making waves in the Chennai digital market! Known for their out of their box ideas, if a creative overhaul for your brand is what you need, you’ve come to the right place.
digital marketing company in chennai
seo service in chennai
web designing company in chennai
social media marketing company in chennai

Karuna said...

Nice blog thanks for sharing You have come to the right place. Karuna Nursery Gardens is the ideal place to begin your journey into landscape gardening. Our specialists have built some of the finest landscape garden in Chennai that too at the best price and amazing service.
plant nursery in chennai
rental plants in chennai
corporate gardening service in chennai

Bhanu Ravi said...

Thanks for sharing this wonderful and useful information...
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore

ethiraj raj said...

I would like to thank for giving this good information please keep blogging....
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore