.NET

Reply
*Gilles Plante
Message 1 of 2 (72 Views)

Debugging Dlls with VB 2005 Express

72 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
Message 2 of 2 (72 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.