By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

Unable to debug C# programs

P: n/a
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.
Aug 9 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Simon Jefferies" <ne********@cooltoolsonline.co.ukwrote in message
news:O7**************@TK2MSFTNGP06.phx.gbl...
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.

Aug 9 '07 #2

P: n/a
Nicholas Paldino [.NET/C# MVP] wrote:
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.
Aug 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.