Visual Studio 2015 Debugging: Can't expand local variables?

后端 未结 10 592
离开以前
离开以前 2020-11-29 05:43

I\'m using Visual Studio 2015 preview, and I\'m trying to debug my project. I was using VS 2012 previously, and depended largely on being able to hover over and expand local

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 06:19

    I had a project that was using minified JavaScript files and wanted to use the TypeScript files for debugging. I put the unminified JavaScript and the associated TypeScript into the project and changed the references to use the normal JavaScript file and not the minified one. My break points were hit in the TypeScript file but I was not getting hover information (surprisingly it looked like adding the object/variable as a watch seemed to work).

    To fix I just excluded the minified JavaScript from the file from the project and included the JavaScript. (The TypeScript file I left excluded).

提交回复
热议问题