Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6838027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:32:51+00:00 2026-05-26T23:32:51+00:00

I am writing some integration tests for an ASP.NET MVC application, and I am

  • 0

I am writing some integration tests for an ASP.NET MVC application, and I am wondering how you can get breakpoints to be hit in the web application after firing a web request at the application.

To give a bit more background, this is what is currently happening:

  • In a separate class library project in the same solution as my MVC project I spin up IIS Express and point it at the location of my MVC app
  • Build some data in a POCO object
  • Parse the object to a string of name value pairs
  • Post the string as the body of a WebRequest to an MVC action method

I know all this is working, as I am getting a 500 back, and my app is logging exactly where in the app an error is being thrown. However, this on it’s own is not enough information, I would like the symbols to be loaded for the MVC app so that when I fire the request off I can hit a breakpoint in the web app.

Anyone any idea how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:32:51+00:00Added an answer on May 26, 2026 at 11:32 pm

    As long as your app is compiled as Debug, you can attach to the IIS Express process from Visual Studio.

    In visual studio, select Attach to process from the Tools menu, and select IIS Express from the list of processes.

    After attaching to the process, make a request and it should stop at any breakpoints you have set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an old asp.net application that has no unit tests, integration tests, component
I'm writing a physics engine that uses Verlet integration, and i can't get some
I was writing some ASP.NET control when I came to the scenario where I
I'm writing some integration tests for a Spring/Hibernate app I'm working on, and I
I'm writing some integration tests using a robot. I have the robot opening a
I am writing an application that uses GWT, some Spring MVC and Spring Security.
After some hours creating a vb.net helper class for unit-tests and integrating moq into
Possible Duplicate: Classic ASP and ASP.NET Integration I got to work on one application
I'm writing an integration tests for my database, and I've got one question. At
Is it common to write integration tests before writing unit tests? Is it conventional,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.