简体   繁体   English

断点当前不会被命中。 与2013 javascript相比,此文档未加载任何符号

[英]the breakpoint will not currently be hit. no symbols have been loaded for this document vs 2013 javascript

This is an MVC5 related issue. 这是与MVC5相关的问题。

I cannot debug my javascript codes but I can debug my C# codes, it's so annoying, I read many solutions but none of them worked for me. 我无法调试javascript代码,但可以调试C#代码,这很烦人,我阅读了许多解决方案,但没有一个对我有用。

在此处输入图片说明

Another team member added this and I wasn't aware of that. 另一位团队成员添加了此信息,但我没有意识到。

BundleTable.EnableOptimizations = ture;

When you activate the EnableOptimizations, Visual Studio uses the .min version of .js files and you won't be able to debug them. 激活EnableOptimizations时,Visual Studio使用.min版本的.js文件,您将无法调试它们。 I just changed it to false and it worked. 我只是将其更改为false,并且有效。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 断点当前不会被命中。 没有在JavaScript中为此文档加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded for this document in JavaScript 断点当前不会被击中。 没有加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded 断点当前不会被命中。 Windows Phone 8.1 phonegap应用程序中没有为该文档加载任何符号 - The breakpoint will not currently be hit. No symbols have been loaded for this document in Windows Phone 8.1 phonegap apps 断点当前不会被击中。已调试的进程已加载不同版本的脚本文件 - The breakpoint will not currently be hit. A different version of script file has been loaded by debugged process 由于未加载符号,断点未命中 - Breakpoint not getting hit due to symbols not been loaded 没有为此文档加载任何符号。 无法在 Visual Studio Code 中调试 Javascript - No symbols have been loaded for this document. Can't debug Javascript in Visual Studio Code 命中断点时,Sourcemap请求挂起。 有没有办法强制预加载? - Sourcemap request pending when breakpoint is hit. Is there a way to force a preload? 重击时重新定位球。 HTML5 Canvas javascript - Reposition ball when hit. HTML5 Canvas javascript vs2013 JavaScript文档大纲丢失 - vs2013 javascript document outline missing 在Visual Studio中调试JavaScript时“没有为当前文档加载符号” - “No symbols loaded for the current document” while debugging JavaScript in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM