Cannot launch debugger

G

Guest

I am running Visual Studio .NET 2002 Professional on Windows 2000 SP4.

When I try to launch the debugger from inside the IDE for VC++ applications
I get the following error “Application failed to initialize properly
(08x0000003). Click on OK to terminate the applicationâ€. I get the same
results when I right-click on application and choose Debug->Start New
Instance. However, the same application runs without any errors if I use the
menu option Debug->Start without debugging. I can also attach the debugger to
the running process.

I have tried to reinstall Visual Studio, rebuilding entire solution without
any luck.

Thanks in advance

Thomas
 
O

Oleg Starodumov

When I try to launch the debugger from inside the IDE for VC++ applications
I get the following error "Application failed to initialize properly
(08x0000003). Click on OK to terminate the application". I get the same
results when I right-click on application and choose Debug->Start New
Instance. However, the same application runs without any errors if I use the
menu option Debug->Start without debugging. I can also attach the debugger to
the running process.

Does it happen with only one application, or with any application, including
simple wizard-generated apps?

What output will be displayed if you run the following command?

ntsd -g yourapp.exe

(NTSD is a command line based debugger located in winnt\system32 directory)

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]
 
G

Guest

Oleg Starodumov said:
Does it happen with only one application, or with any application, including
simple wizard-generated apps?

What output will be displayed if you run the following command?

ntsd -g yourapp.exe

(NTSD is a command line based debugger located in winnt\system32 directory)

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]

Thanks for the reply.

I get the same error for all applications including simple wizard generated
applications.

Also, when I run the ntsd -g I get the same error "“Application failed to
initialize properly (08x0000003). Click on OK to terminate the applicationâ€.

Thomas
 
O

Oleg Starodumov

I get the same error for all applications including simple wizard generated
applications.

I would suspect a security-related product installed on the system.
Some personal firewalls, antivurus products, and other "intrusion prevention"
applications are known for breaking Win32 debugging.
(but at the same time, scanning for viruses/rootkits will not harm, too)
Also, when I run the ntsd -g I get the same error ""Application failed to
initialize properly (08x0000003). Click on OK to terminate the application".

What output is printed by NTSD to its console?

Oleg
 
G

Guest

Oleg Starodumov said:
I would suspect a security-related product installed on the system.
Some personal firewalls, antivurus products, and other "intrusion prevention"
applications are known for breaking Win32 debugging.
(but at the same time, scanning for viruses/rootkits will not harm, too)


What output is printed by NTSD to its console?

Oleg

I did not provide the output as nothing useful is being printed out. In any
case, here it is.

------------
Microsoft(R) Windows 2000 Debugger
Version 5.00.2184.1
Copyright (C) Microsoft Corp. 1981-1999

CommandLine: simpleApp.exe
 
B

Ben Voigt

Try running Dependency Walker on your app, both stand-alone and the ntsd
command line. Maybe it's finding a different set of libraries... debuggers
can change the search order. 0x80000003 usually indicates a DLL refused to
load.
 

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

Top