Problem debugging resource files , .js, within a Custom Control assembly.

Last post 11-02-2006 4:08 AM by learnerplates. 2 replies.

Sort Posts:

  • Problem debugging resource files , .js, within a Custom Control assembly.

    11-01-2006, 5:32 AM

    I've created a Custom Control and added it to my aspx page.

    The Control works, it contains .js files, the .js files are included in an .resx file and added to the assembly. I've build in debug and published all to my website.

    I am unable to debug however, step into the source .js files. I've attached the source project to the IEXPLORER process and no go. I have confirmed that the correct assembly, containing my .js files is being used, I introduced an error.

    What could be the problem? why can I not step into or set breakpoints in the source files of my Custom Control assembly?
     

    If I add the .js files to the website and reference them differently in the .aspx file I can debug successfully.

    <script src="javascript\Components.js" type="text/javascript"></script>

     

    http://learnerps-dotnet.blogspot.com
  • Re: Problem debugging resource files , .js, within a Custom Control assembly.

    11-01-2006, 2:42 PM
    • Loading...
    • tkfe
    • Joined on 02-07-2006, 12:25 PM
    • France
    • Posts 23
    • TrustedFriends-MVPs

    Hello,

    Do you use webresource http handler for your project ?

    I have recently posted a thread about that : http://forums.asp.net/thread/1438941.aspx 

    Frederic Melantois

  • Re: Problem debugging resource files , .js, within a Custom Control assembly.

    11-02-2006, 4:08 AM

    Thanks Tkfe,

    Yeah that's exactly what I've done. I've described it at http://forums.asp.net/thread/1443785.aspx

     Have you tried to attach your debugger to IEXPLORER and set a breakpoint in your original script file?

     

    http://learnerps-dotnet.blogspot.com
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter