Debugging Kendo.MVC code in Visual Studio

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    2 posts
    Member since:
    May 2012

    Posted 17 Oct 2013 Link to this post

    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.
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 18 Oct 2013 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jeff
    Jeff avatar
    2 posts
    Member since:
    May 2012

    Posted 18 Oct 2013 Link to this post

    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?

  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 21 Oct 2013 Link to this post

    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!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready