.NET

Reply
*Gilles Plante
Post 1 of 2

Debugging Dlls with VB 2005 Express

73 Views, 1 Replies
03-06-2006 01:49 PM
Hi All,

I am using VB 2005 Express. In exploring the product, I found that this
version of VB 2005 does not allow to debug Dlls. To debug my code, I thought
I would simply write a Windows application that would start AutoCAD, in
where the Dll code would be imported. But it does not work. For example the
following code will not result in adding a new command:

Imports ...
Public Class Class1
Public Sub Foo()
...
End Sub
End Class

Is conditional compilation of any hep, for example:

Imports ...
Public Class Class1

#if DLL then

Public Sub Foo()

#else

Public Foo()

#end if
...
End Sub
End Class

Or is there a better way of easing DLLs debugging with the Express edition ?

Thanks

Gilles Plante
*Mark Gardiner
Post 2 of 2

Re: Debugging Dlls with VB 2005 Express

03-06-2006 04:56 PM in reply to: *Gilles Plante
There is a IDE called Sharpdevelop you can download for free that allows you
to debug .net dll's for acad

"Gilles Plante" wrote in message
news:5103102@discussion.autodesk.com...
Hi All,

I am using VB 2005 Express. In exploring the product, I found that this
version of VB 2005 does not allow to debug Dlls. To debug my code, I thought
I would simply write a Windows application that would start AutoCAD, in
where the Dll code would be imported. But it does not work. For example the
following code will not result in adding a new command:

Imports ...
Public Class Class1
Public Sub Foo()
...
End Sub
End Class

Is conditional compilation of any hep, for example:

Imports ...
Public Class Class1

#if DLL then

Public Sub Foo()

#else

Public Foo()

#end if
...
End Sub
End Class

Or is there a better way of easing DLLs debugging with the Express edition ?

Thanks

Gilles Plante
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!