| Author |
Debugging unmangaged code
|
|
|
| I have a asp.net web application, using C#, which references (ie., using) a
managed dll acting as a wrapper around unmanaged C++ classes. All works just
fine except that I can't debug the unmanaged code. When I set the project
settings to debug unmanaged code to true and start up the application with
the debugger, Visual Studio.NET hangs and I have to stop it using the Task
Manager. I reference the same dll in a C#, non-web/asp application and can
step into the unmanaged code.
Anyone have any ideas or do I need to set something else other than the
project setting?
Thanks.
Jon Lea.
| |
| Sahil Malik 2004-09-29, 8:09 pm |
| Is the Unmanaged code written in VC++? Can you attach to the process thru
VC++ 6.0 IDE and run it?
- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik
"jlea" <jon@leapsoft.com> wrote in message
news:%23WuduDmpEHA.896@TK2MSFTNGP12.phx.gbl...
> I have a asp.net web application, using C#, which references (ie., using)
a
> managed dll acting as a wrapper around unmanaged C++ classes. All works
just
> fine except that I can't debug the unmanaged code. When I set the project
> settings to debug unmanaged code to true and start up the application with
> the debugger, Visual Studio.NET hangs and I have to stop it using the Task
> Manager. I reference the same dll in a C#, non-web/asp application and can
> step into the unmanaged code.
>
> Anyone have any ideas or do I need to set something else other than the
> project setting?
>
> Thanks.
> Jon Lea.
>
>
| |
|
| Yes - the unmanaged code is VC++ built with .NET.
"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:eRfknHmpEHA.2900@TK2MSFTNGP12.phx.gbl...
> Is the Unmanaged code written in VC++? Can you attach to the process thru
> VC++ 6.0 IDE and run it?
>
> - Sahil Malik
> You can reach me thru my blog at
> http://www.dotnetjunkies.com/weblog/sahilmalik
>
>
>
> "jlea" <jon@leapsoft.com> wrote in message
> news:%23WuduDmpEHA.896@TK2MSFTNGP12.phx.gbl...
using)[color=darkred]
> a
> just
project[color=darkred]
with[color=darkred]
Task[color=darkred]
can[color=darkred]
>
>
| |
| Sahil Malik 2004-09-29, 8:09 pm |
| Then, attach to the process thru VC++ 6.0 IDE
- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik
"jlea" <jon@leapsoft.com> wrote in message
news:OBrQGkmpEHA.3716@TK2MSFTNGP10.phx.gbl...
> Yes - the unmanaged code is VC++ built with .NET.
>
> "Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
> news:eRfknHmpEHA.2900@TK2MSFTNGP12.phx.gbl...
thru[color=darkred]
> using)
works[color=darkred]
> project
> with
> Task
> can
the[color=darkred]
>
>
| |
|
| Thanks - I'll give that a try. Jon.
"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:e21qrBnpEHA.4004@TK2MSFTNGP10.phx.gbl...
> Then, attach to the process thru VC++ 6.0 IDE
>
> - Sahil Malik
> You can reach me thru my blog at
> http://www.dotnetjunkies.com/weblog/sahilmalik
>
>
> "jlea" <jon@leapsoft.com> wrote in message
> news:OBrQGkmpEHA.3716@TK2MSFTNGP10.phx.gbl...
> thru
> works
application[color=darkred]
the[color=darkred]
and[color=darkred]
> the
>
>
|
|
|
|