Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! - Problem running apps in debug

Status
Not open for further replies.

dougconran

Technical User
Sep 26, 2003
89
GB
I have a problem running any applications within the IDE.

Suddenly I have lost the ability to run an application from within the IDE. When I click on the 'Run' icon (whether it is set to run in Debug or Release) the application will compile but then hangs when the IDE tries to start it. I get messages to say that the build was successful but then ... nothing.

This was working fine until yesterday (although, to be fair, the last time I successfully ran an app was about a week ago).

The only thing that I can think of that might have affected it is that I tried to install a project on the development machine (the problem one) that I had built for deployment. This installation hung during the installation process and I had to do a CTRL Alt Del to terminate it.

I can't find any residue left by the installation procedure but I'm completely stymied at the moment because the only way I can do anything is to make a change, build, and then run the .exe outside of the IDE and I then lose all debugging facilities.

Help, Help, Help!!

TIA

Doug
 
Click Build -> Configuration Manager and check that you have:

1) the Active Solution Configuration set to Debug
2) Configuration column set as debug
3) Build column ticked

----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Thanks for your quick reply.

I've checked the points you mention and they are all correctly set but still it hangs after the build.

Doug
 
Hmmm...does the same thing happen with all projects or just this one?

----------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
This includes Compact Framework apps.

It gets to the point where it is trying to launch the application. It's as if it is trying to find something to do with the launch and is hanging until it finds it.

When I look in the Windows Task Manager there is a task wcescomm.exe which is ticking over (at about 9/10), all other tasks have 00 CPU time. (This was when trying to run a Compact Framework app)

When I try a really simple .Net Framework app the only thing ticking over is taskmgr.exe at 01.

Does any of this help.

I have to go out urgently for about an hour (not lunch:(. I'll pick this up when I return

Doug
 
I had exactly the same problem, but only with Pocket PC Apps. The machine was running W2k. Other machines with XP Pro and 2003 worked fine, as did the original machine after reinstalling the OS. Drastic, but that was the only way I could get it to work on that machine.

Incidently, if I ran the app outside of the IDE it worked fine.
 
Re-installing the OS is a somewhat nuclear solution that I was hoping to avoid, it means, apart from anything else, that I will lose all of my emails.

Did you try re-installing VB .Net?
 
I can assure you, I didn't take that decision lightly. Depending on your email client, you should be able to save your emails. I just use Outlook Express at home and kept both my address book and emails

 
No, I can believe that it wasn't a lightly taken decision I was just living in hope.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top