Re: Process does not contain any programs (???)
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 12 Mar 2008 12:14:04 -0500
As a basic principle, there are no two places in any program I deliver that can issue a
message such that I do not have a unique way to identify precisely where the message was
issued. If I were delivering a product as complex as VS, every message would have a
message code associated with it so it could be documented.
joe
On Wed, 12 Mar 2008 08:49:17 -0700, "Tom Serface" <tom.nospam@xxxxxxxxxxxxx> wrote:
That sounds like one of those "this will never happen, but lets put in aJoseph M. Newcomer [MVP]
message anyway" sorts of things. I got that error "An unknown error has
occurred... contact Microsoft" the other day. Not sure what to put on that
bug report.
Tom
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:ofuet39cduvojm77n49nifarpn6rpi4tgq@xxxxxxxxxx
A fascinating new bug in VS2003. Anyone seen this little gem?
I just converted a project from VS6 to VS.NET 2003. Added a bunch of new
features. Built
it. New feature didn't work. Wanted to set a breakpoint. Breakpoint did
not occur.
Weird.
OK, finally add ASSERT(FALSE) to get into the debugger, can single-step.
Found problem
(sillly typo).
Add another new feature. Make similar silly error. This one puts it into
an infinite
loop. I see the problem instantly. Do Debug>Break All to enter debugger,
get strange
message:
"Unable to break execution. The process does not contain any programs"
Duh? What is that thing that is running? Of course, messages like this
don't actually
have any representation in the documentation (Note to Microsoft: EVERY,
repeat EVERY
messagebox that can pop up shall have a code, e.g., "VS7132: Unable
...programs". Every
such message shall be indexed in the documentation, with an explanation
about what causes
it and what the likely fix is...I get really tired of slovenly messagebox
calls that
convey no information and have no documentation. It should be part of the
Quality
Assurance and/or Usability Criteria that EVERY messagebox call be
inspected, assigned a
numeric code, and fixed to report all appropriate variables instead of
just using a single
literal string).
The only google searches reveal that others have had this problem, but
there were no
answers.
Note that F10-single-step into the program works fine; if I ASSERT(FALSE)
I can single
step. But breakpoints are not taken, Break All will not work. Unlike
some of the reports
posted, I *can* kill it with task manager.
I'm not moving this to VS2005 until I'm convinced that there is a
sufficient body of users
out there who have moved to it. Certainly none of my clients have (some
are still using
VS6)
It is consistent and reproducible. Platform is XP Pro SP2.
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Process does not contain any programs (???)
- From: Joseph M . Newcomer
- Re: Process does not contain any programs (???)
- From: Tom Serface
- Process does not contain any programs (???)
- Prev by Date: Re: Want to get checkbox dynamically on tree view.
- Next by Date: Re: How to Implement Cut, Copy Paste Between Your Program Explorer
- Previous by thread: Re: Process does not contain any programs (???)
- Next by thread: Re: Process does not contain any programs (???)
- Index(es):
Relevant Pages
|