A
AG
Hi all,
New install of VS 2005 Pro (SP1) on new machine with Windows XP Pro SP2,
Core 2 Extreme Quad Core processor, 4GB RAM.
Trying to debug a Web Application Project.
I had no problems debugging this same project on my old machine (also
Windows XP SP2), but having problems on the new one.
Initially, when trying to run in debug mode, I got the message
"The following module was built either with optimizations enabled or without
debug information:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Tempory ASP.NET
Files\...\myprojectname.dll'
To debug this module, change its project build configuration to Debug mode.
To supress this message, disable 'Warn if no usercode on launch' debugger
option."
The project is already set to debug mode.
I found a post indicating that 'Enable Just My Code' should be unchecked in
debugging options.
Unchecking it allowed me to start debugging.
However, any properties for any server control or object can not be
evaluated in the immediate or locals windows.
The message is -
'Cannot evaluate expression because the code of the current method is
optimized.'.
Can anyone offer a suggestion on how to get full debugging to work?
TIA
AG
Email: discuss at adhdata dot com
New install of VS 2005 Pro (SP1) on new machine with Windows XP Pro SP2,
Core 2 Extreme Quad Core processor, 4GB RAM.
Trying to debug a Web Application Project.
I had no problems debugging this same project on my old machine (also
Windows XP SP2), but having problems on the new one.
Initially, when trying to run in debug mode, I got the message
"The following module was built either with optimizations enabled or without
debug information:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Tempory ASP.NET
Files\...\myprojectname.dll'
To debug this module, change its project build configuration to Debug mode.
To supress this message, disable 'Warn if no usercode on launch' debugger
option."
The project is already set to debug mode.
I found a post indicating that 'Enable Just My Code' should be unchecked in
debugging options.
Unchecking it allowed me to start debugging.
However, any properties for any server control or object can not be
evaluated in the immediate or locals windows.
The message is -
'Cannot evaluate expression because the code of the current method is
optimized.'.
Can anyone offer a suggestion on how to get full debugging to work?
TIA
AG
Email: discuss at adhdata dot com