473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Conversion to Managed C++: Can't Debug

I turned that feature on, cleaned my project, recompiled,
and tried again. Still just the disassembly information.

Any other thoughts?

Thanks

Joe
-----Original Message-----
did you turn on mixed mode debugging. I think you have todo it for mixed c++ and c# even if it is managed c++
-----Original Message-----
I have a C++ project which is composed of a single .exe
and multiple .dlls. I changed my Visual C++ project to
Use Managed Extensions and added a couple of lines of
Managed C++ to one class to call a .NET web service.

The call to the web service succeeds (I get valid
results), but a can no longer step through the class
which contains the call to the .NET web service (using
managed code). I can step through the rest of the code,but as soon as I set a breakpoint in the class which I'veadded the .NET components to, I immediately get put intothe Disassembly window. I can continue to hit F10 to
step until all lines of code are complete (in the
disassembly window), and then it jumps out, back to the
visual debugger.

I know of at least one other person who has seen this
behavior, but haven't found a solution.

Thanks in advance

.

.

Nov 16 '05 #1
1 1185
Still having the prolem. Any ideas o Microsoft Gurus of
Knowledge?

Joe
-----Original Message-----
I turned that feature on, cleaned my project, recompiled,and tried again. Still just the disassembly information.

Any other thoughts?

Thanks

Joe
-----Original Message-----
did you turn on mixed mode debugging. I think you have

to
do it for mixed c++ and c# even if it is managed c++
-----Original Message-----
I have a C++ project which is composed of a single .exeand multiple .dlls. I changed my Visual C++ project toUse Managed Extensions and added a couple of lines of
Managed C++ to one class to call a .NET web service.

The call to the web service succeeds (I get valid
results), but a can no longer step through the class
which contains the call to the .NET web service (using
managed code). I can step through the rest of thecode,but as soon as I set a breakpoint in the class whichI'veadded the .NET components to, I immediately get putintothe Disassembly window. I can continue to hit F10 to
step until all lines of code are complete (in the
disassembly window), and then it jumps out, back to thevisual debugger.

I know of at least one other person who has seen this
behavior, but haven't found a solution.

Thanks in advance

.

.

.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bob Rock | last post by:
Hello, in the last few days I've made my first few attempts at creating mixed C++ managed-unmanaged assemblies and looking aftwerwards with ILDASM at what is visible in those assemblies from a...
5
by: Adam McKee | last post by:
We are using Visual Studio.NET 2003 in our project with .NET framework 1.1. One of our libraries is a mixed-mode dll assembly consisting of one managed C++ library, and several unmanaged C++...
3
by: zhphust | last post by:
I want to convert a object of a managed class to a unmanaged structure that has the same member with that managed class. Can anybody tell me how i can do it? Thanks in advance. -- zhphust...
11
by: Peter Oliphant | last post by:
I've been trying all morning to convert my 2003 project (managed) to 2005 (/clr since I have both managed and unmanaged code). I'm guessing I have tens of thousands of lines of code to change. Did...
8
by: Shawn B. | last post by:
Greetings, Me again. I have (roughly) the following code: HANDLE hConsoleOutput; HANDLE hConsoleInput;
1
by: adhingra | last post by:
I stumbled upon something which does not make sense "Debug class methods are not automatically suppressed by the managed c++ compiler when the project is build in release mode" Create a a...
5
by: =?Utf-8?B?U2hhaWxlbiBTdWt1bA==?= | last post by:
I have some code that was written in managed C++ using VS 2005. I want to convert that code into C#. Is there a tool available to do this? Thanks in advance. -- Shailen Sukul Architect (BSc...
16
by: pkoniusz | last post by:
Hello everybody, Been just thinking how actually one could convert the following unmanaged code to the managed C++: struct JustAnExample { char value1; int value2; // etc ....
4
by: =?Utf-8?B?dmlwZXJ4MTk2Nw==?= | last post by:
We are having an issue with an application we are developing. We have a Legacy COM DLL in C++ that we have converted to Visual Studio 2008. This COM DLL has methods that are calling Managed C#...
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
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)...
0
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.