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. 4 1284
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" <jo*@leapsoft.com> wrote in message
news:%2***************@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" <co*****************@nospam.com> wrote in message
news:eR**************@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" <jo*@leapsoft.com> wrote in message news:%2***************@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.
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" <jo*@leapsoft.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl... Yes - the unmanaged code is VC++ built with .NET.
"Sahil Malik" <co*****************@nospam.com> wrote in message news:eR**************@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" <jo*@leapsoft.com> wrote in message news:%2***************@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.
Thanks - I'll give that a try. Jon.
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:e2**************@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" <jo*@leapsoft.com> wrote in message news:OB**************@TK2MSFTNGP10.phx.gbl... Yes - the unmanaged code is VC++ built with .NET.
"Sahil Malik" <co*****************@nospam.com> wrote in message news:eR**************@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" <jo*@leapsoft.com> wrote in message news:%2***************@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. > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: R Millman |
last post by:
under ASP.NET, single stepping in debug mode appears not
to stop within event procedures. i.e. 1) Create web page
with submit button and event procedure for the click
event in the code behind...
|
by: ZMan |
last post by:
Scenario:
This is about debugging server side scripts that make calls to
middle-tier business DLLs. The server side scripts are legacy ASP 3.0
pages, and the DLLs are managed DLLs...
|
by: Velvet |
last post by:
Can someone tell me to what process I need to attach to be able to step
through my classic ASP code in VS.net 2003. I'm working on an XP box with
IIS installed. I also have VS.net 2005 (The...
|
by: snicks |
last post by:
I'm trying to exec a program external to my ASP.NET app using the following
code. The external app is a VB.NET application.
Dim sPPTOut As String
sPPTOut = MDEPDirStr + sID + ".ppt"
Dim p As...
|
by: razael1 |
last post by:
I am putting debugging messages into my program by putting blocks that
look like this:
#ifdef DEBUG
errlog << "Here is some information";
#endif
All these #ifdef blocks make the code bulky and...
|
by: phnimx |
last post by:
Hi ,
We have developed a number of plug-in .NET Library Components that we
typically deploy with our various applications by installing them into the
GAC.
Each of the applications contains an...
|
by: rn5a |
last post by:
Can someone please suggest me a text editor especially for DEBUGGING
ASP scripts apart from Microsoft Visual Interdev?
I tried using Visual Interdev & created a project but Interdev
generates...
|
by: jwwicks |
last post by:
Introduction
This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
|
by: jwwicks |
last post by:
C/C++ Programs and Debugging in Linux
This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |