Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » [VC++] Debugger woes

Credits go to Arthur Kalliokoski, Billybob, Edgar Reynaldo, Lupuss.Umbrae, Neil Roy, Ron Novy, and Thomas Fjellstrom for helping out!
This thread is locked; no one can reply to it. rss feed Print
[VC++] Debugger woes
23yrold3yrold
Member #1,134
March 2001
avatar

Not Allegro specific, but driving me nuts regardless. For some reason, since yesterday, Visual C++ 2010 Express hangs when I try to run the debugger. The process shows up in Task Manager, but doesn't open a window. If I try to kill it via Shift+F5, VC++ gives me this:

Quote:

The debugger was unable to terminate one or more processes:
[1984] PanelPanic.exe: The debugger is still attaching to the process or the process is not currently executing the type of code selected for debugging.
The debugger may be unstable now. It is recommended that you save all files and exit"

I've tried repairing, rebooting, reinstalling ... no dice. I had a bit of a malware issue yesterday but that got cleaned up ... only thing remarkable that's happened lately. I've tried a few fixes I've found online, no luck. Anyone have any suggestions? The binary works if I rebuild everything but that doesn't let me debug it ...

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Ron Novy
Member #6,982
March 2006
avatar

When random things start happening and nothing seems to be working, always try memtest86. If it fails then clean the contacts on your memory... If it turns out your memory is fine then blame Microsoft. >:(

[edit] Of course uninstalling and cleaning the registry could help before reinstalling. Getting rid of unnecessary software and unplugging USB hardware. That's all I can think of...

----
Oh... Bieber! I thought everyone was chanting Beaver... Now it doesn't make any sense at all. :-/

23yrold3yrold
Member #1,134
March 2001
avatar

I can only run memtest86 from disc, right? I have no floppy drive on this system and no spare CD's. :(

I'll try a full uninstall before reinstalling this time. Not enough experience with editing the registry to know how competent I'd be at "cleaning" that ...

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Arthur Kalliokoski
Second in Command
February 2005
avatar

I can only run memtest86 from disc, right?

You don't have a memory stick and a new enough computer that knows how to boot from it?

They all watch too much MSNBC... they get ideas.

23yrold3yrold
Member #1,134
March 2001
avatar

I had a memory stick but it was accidentally smashed recently. Haven't had a reason to grab a new one.

Yeah, I'm slummin' it here. :P

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Neil Roy
Member #2,229
April 2002
avatar

Someone mentioned that Windows 7 has a built in memory test now on bootup. I forget how to access it, I assume press F8 before Windows boots. (if you have Windows 7 that is)

Edit: I just checked it out, yeah, you press F8 before windows starts, then select "Repair Windows" and it will bring up a blue windows style login screen with various options including a memory diagnostics. Pretty kewl actually, never really checked it out before.

---
“I love you too.” - last words of Wanda Roy

23yrold3yrold
Member #1,134
March 2001
avatar

Windows XP. Can't stop failing.

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Arthur Kalliokoski
Second in Command
February 2005
avatar

Windows XP. Can't stop failing.

Why is it that Windows users always diss the previous version of Windows, but the current version is Da Bombgood? Win 7 will get slammed in due time. Win 95 users insisted it was 32 bit (yes really) until win 2000 came along, etc.

They all watch too much MSNBC... they get ideas.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Why is it that Linux users think Windows always fails at everything? ???

The only problems I've ever had with XP was with an unsupported driver causing STOP errors when opening Task Manager, and once in a while the computer shuts down at startup but restarting it again then works fine.

I have had exactly zero problems with Vista on my laptop and I have had it several years now.

I've had 3 instances of openSUSE 11.3 hanging up irrevocably in the first month I installed it. Granted, it's running in a VirtualBox VM so that could explain it though.

Arthur Kalliokoski
Second in Command
February 2005
avatar

Why is it that Linux users think Windows always fails at everything?

Windows XP. Can't stop failing.

Oh, wait! He's on XP!

They all watch too much MSNBC... they get ideas.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

23yrold3yrold
Member #1,134
March 2001
avatar

By failing, I meant failing on memory test options. I like Windows XP. I also like Windows 7. Vista is a turd ...

An option that has come up is I might have a virus. I find that unlikely since I do almost nothing to incur one, but anyone got suggestions for freeware anti-virus that doesn't suck?

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Arthur Kalliokoski
Second in Command
February 2005
avatar

I always used AVG. And I get "viruses" regularly on Linux from innocent seeming sites (one time I was googling for OpenGL info), but they don't (can't) install.

They all watch too much MSNBC... they get ideas.

Neil Roy
Member #2,229
April 2002
avatar

Well, Microsoft has a nice little package you can install actually. It tests for viruses and other things like spyware. It actually runs in the background really nicely without bogging your system down. I never get viruses so I couldn't say how effective it is... now to recall the name of it... someone here probably knows.

AVG Antivirus is pretty good. They have a free version/pay version. The free version is fully functional, works fairly well in my experience.

Plus there are websites that can scan your system, never used one, but they exist more these days.

---
“I love you too.” - last words of Wanda Roy

Lupuss.Umbrae
Member #8,387
March 2007
avatar

Well, I don't know what causes the problem... But, uhm, do you have a previous version of VC at hand? Like 2008? If VC2008 runs fine, it would be definitely a VC2010 issue, no?

To be honest, I think that 2010 is just FUBAR'd. Actually, VC is the only Microsoft product I never complained about, but VC2010... well, I think English doesn't have enough obscene words to describe what I think of it... :/

--------------------------------------------------
I'm not a signature, I'm just cleaning here...

23yrold3yrold
Member #1,134
March 2001
avatar

Neil Roy said:

Well, Microsoft has a nice little package you can install actually. It tests for viruses and other things like spyware.

It's Defender, and it didn't catch anything. I tried AVG, also nothing. So I guess the chance of a virus is low. I'll put some actual effort into running memtest86 ... dunno how to clean the registry ... would be nice to debug again ...

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Thomas Fjellstrom
Member #476
June 2000
avatar

Theres also the Microsoft Security Essentials, try that?

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Billybob
Member #3,136
January 2003

Uninstalling MSVC 2010
Uninstall Program

Try a "VS2010_Uninstall-RTM.ENU.exe /full /netfx" uninstall. N.B. this will uninstall All Shared Components and will break other version of MSVC if you have those installed!!

Restart, and for good measure check your Add/Remove programs list for anything related to MSVC or Debugging. Make sure XP is fully up-to-date, SP3 and all.

That's what I would do. Other than that ... well, I dunno. A virus may have futzed up the Debugging APIs some how. Since you're on XP you may consider running ComboFix which will nuke pretty much any infestation. Or trying restoring to a date prior to this problem.

23yrold3yrold
Member #1,134
March 2001
avatar

Uninstalled AVG, tried MSE. Still no hits. Will try ComboFix and then the uninstall.

EDIT: ComboFix was ultimately my savior. Not only is my system running noticeably faster, but I can debug properly again! :D Joy and yayness!

Cookies for everyone, but extra chocolate chips in BillyBob's.

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Billybob
Member #3,136
January 2003

Did ComboFix find anything? It leaves logs around. Might be worthwhile to check out what was mucking things up.

It could be AVG was causing the problem :P

23yrold3yrold
Member #1,134
March 2001
avatar

No, I only just installed AVG for this.

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Thomas Fjellstrom
Member #476
June 2000
avatar

I'm also interested in knowing what ComboFix did.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Go to: