“Mixed mode debugging is not supported on Windows 64-bit platforms” when trying to attach to an ASP.NET process using Visual Studio 2008

后端 未结 4 1028
春和景丽
春和景丽 2021-01-15 16:42

I am so used to attach a process when debugging ASP.NET application in .NET 2.0 and VS.NET 2005. I don\'t know what happened to this functionality in VS.NET 2008.

I

4条回答
  •  天涯浪人
    2021-01-15 17:06

    Help came from Mitchel Sellers. He pointed out that the debug mode was ok however while attaching to the process, the "Attach To" was "Automatic:Native Code".

    After changing to only "Managed Code" or simply by selecting "Managed Code" it started working.

    Thanks Mitchel.

    And here is the final words from Mitchel:

    The "Script" option, is for classic ASP scripts, which ALWAYS run in 32 bit mode, thus debugging T-SQL and Script at the same time results in the "mixed mode", as T-SQL is 64 bit by default. Additionally without the "Managed" option selected, you would never be able to debug anyway.

    Now, as to why it was different? I'm not sure, but once you change it you should be set to go for the future.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题