Unable to debug C# programs

  • Thread starter Thread starter Simon Jefferies
  • Start date Start date
S

Simon Jefferies

Hi there,

I'm having a problem whereby when a line of code raises an exception etc
VS 2005 wont debug the line (highlight the error) but to actually
display a message along the lines of

'vshost.exe has stopped working.' if i switch off vs hosting i get the
name of my program instead.

This happens to all (C#) programs i'm working on.

How do I fix this?

Thanks,
Simon.
 
Simon,

Are you trying to debug in release mode or debug mode? If you are
running in release mode, then you won't be able to debug programs from the
IDE.
 
Nicholas said:
Simon,

Are you trying to debug in release mode or debug mode? If you are
running in release mode, then you won't be able to debug programs from the
IDE.

I'm trying both debug and release - both bring up the same problem.

Simon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top