This is a migrated thread and some comments may be shown as answers.

Debugging Kendo.MVC code in Visual Studio

3 Answers 538 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 17 Oct 2013, 10:25 PM
Am new to to Kendo.mvc
Inherited a MVC app that make use of a Kendo Grid that seems to be making calls to a controller methods (returns list).
When Debugging in VS2010 I can cannot hit break points that I am setting in the controller, is that because I am going out of process through the Kendo.MVC DLL ?

I would welcome any tips about debugging Kendo in general.

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 18 Oct 2013, 07:20 AM
Hello Jeff,

 Using Kendo UI shouldn't prevent debugging of your action methods. Make sure your application is compiled in debug mode though. If it is in release mode debugging will not work.

 If you want to debug the actual Kendo UI code you should use the source code which is provided as part of the distribution. You can find it in the "src" subdirectory of your install location.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jeff
Top achievements
Rank 1
answered on 18 Oct 2013, 09:09 PM
Thanks for the reply Atanas,
As it turns out the reason that my break points in the controller where not getting hit  (VS2010 Debug mode) was that I was using a Chrome browser for testing and the Grid call to the my controller never even got made:
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("GetProjects", "MRM"))
.ServerOperation(true)
)
this however works just fine in IE
So this is really a  Kendo.MVC - chrome compatibility issue.
Please let me know what I can do to resolve this?

0
Atanas Korchev
Telerik team
answered on 21 Oct 2013, 06:50 AM
Hello Jeff,

 We are not aware of any Chrome compatibility issues. In fact we do most of our development and testing using Google Chrome. What does the Chrome developer tools console say? Are there any errors?

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Jeff
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or