In Development
Last Updated: 11 Dec 2024 13:19 by ADMIN
Scheduled for 2025 Q1 (Feb)
Support
Created on: 01 Nov 2023 07:31
Category: UI for ASP.NET MVC
Type: Bug Report
2
Source mapping does not allow debugging of kendo.all.min.js

Bug report

Reproduction of the problem

  1. Reference kendo.all.min.js and kendo.all.min.js.map in a project
  2. Add a basic Grid:
<div id="grid"></div>
<script>
    // The dataSource is initialized as a stand-alone widget that can be bound to the Grid.
    var dataSource = new kendo.data.DataSource({
        transport: {
            read: {
                // The remote endpoint from which the data is retrieved.
                url: "https://demos.telerik.com/kendo-ui/service/products",
                dataType: "jsonp"
            }
        },
        pageSize: 10
    });

    $("#grid").kendoGrid({
        // The dataSource configuration is set to an existing DataSource instance.
        dataSource: dataSource,
        pageable: true
    });
</script>
  1. Open the browser's dev tools Source tab and place a breakpoint (e.g., on line 3715).

Current behavior

The breakpoint is added at the last line (326079) of the file.

Expected/desired behavior

The breakpoint is added at the desired line (e.g., 3715).

Environment

  • Kendo UI version: 2023.3.1010
  • jQuery version: x.y
  • Browser: [ Chrome XX]
4 comments
ADMIN
Ivan Danchev
Posted on: 21 Nov 2024 14:31

Hello,

The issue was resolved in the Kendo UI for jQuery bundle, but is still present in the UI for MVC bundle.

Fortunately, as a workaround you can get the kendo.all.min.js and kendo.all.min.js.map files from the Kendo UI bundle and reference them.

Here's a link to the Kendo UI for jQuery product download page: https://www.telerik.com/account/downloads/product-download?product=KENDOUICOMPLETE

The bundle you need is named: kendoui.for.jquery.2024.4.1112.commercial.zip

You can find the two js files in the archive's js folder.

Regards,
Ivan Danchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Support
Posted on: 20 Nov 2024 11:38
Was this issue resolved? I just updated to the latest version, 2024.4.1112, and it's still happening
ADMIN
Ivan Danchev
Posted on: 05 Jan 2024 15:01

Hello,

Currently, no workaround is available, but we've increased the issue's priority. A dev is already assigned to it and will work on a fix.

Regards,
Ivan Danchev
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Vladimir
Posted on: 01 Jan 2024 00:59
Is anything being done about this problem? Is there a workaround? As it stands, I cannot debug Kendo UI source