[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

How do you debug C# TestProject

If you create a C# Test project, how can you step into the test? Especially if the test is for a ASP.NET app.

Thanks,

G
0
gswitz
Asked:
gswitz
1 Solution
 
Luis PérezSoftware Architect in .NetCommented:
Visual Studio has many debugging options.

Try these links:

http://msdn.microsoft.com/en-us/library/sc65sadd.aspx

http://support.microsoft.com/kb/815788/en-us

Hope that helps.
0
 
gopaltaydeCommented:
Put the break point in the test case and press CTRL + R + T
0
 
gswitzAuthor Commented:
ctrl+r+t isn't working for me. The break point has a yellow exclamation and is disabled.
0
 
Jaime OlivaresCommented:
try to attach the IIS Process: either aspnet_wp.exe or w3wp.exe
Also verify that all the projects are running in debug mode and are configured for the same .net version
0
 
gswitzAuthor Commented:
I don't want to have to attach to a process to debug a test project, but if that's what it takes...

Thanks for your help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now