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

  • Thread starter Thread starter Scythen
  • Start date Start date
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 :(
 
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
 
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.
 
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
 
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
 
Back
Top