C# Express, how to debug a Class Library???

S

Scythen

Hi all,

I have a native win32 application that loads C# Class Libraries and I
would like to be able to debug the Class Libraries using C# Express.

Apparently, there is no way to attach to a running processes win C#
Express, is there some other way to get the debugger attached to a
processes executing code in my class library?

I can modify the win32 app if needed but it can't be a managed
application :(
 
A

Andy

Sorry, but there isn't any way that I've found.

Thats just one of the limitations of Express.

If you are doing this as part of employment, the ability to attach to
any process may be enough to convince your boss to put out for Standard
edition of VS2005.

Andy
 
A

Andy

Opps...

Is your unmanaged Win32 application being built using C# Express as
well? If so, you can just add the .net project to the solution for
yoru Win32 project.
 
D

David Browne

Scythen said:
Hi all,

I have a native win32 application that loads C# Class Libraries and I
would like to be able to debug the Class Libraries using C# Express.

Apparently, there is no way to attach to a running processes win C#
Express, is there some other way to get the debugger attached to a
processes executing code in my class library?

I can modify the win32 app if needed but it can't be a managed
application :(

The .NET Framwwork SDK has a debugger that can attach running processes. Or
you can write a .NET test harness and debug that.

David
 
C

Claes Bergefall

I don't have Express here, but can't you start your win32 app as an external
program from your dll project and debug it that way?
I.e. in the project settings for your dll, under the debug options, specify
"Start external program" under start action

/claes
 

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