473,378 Members | 1,429 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,378 software developers and data experts.

mscorwks in call stack during debug

Hi,

Not sure when this problem surfaced but when I'm debugging a mixed c++ app,
some (but not all) of the breakpoints in the unmanaged code are hit but
because the top of the call stack is shown as mscorwks with a memory
address, and NOT the function where the breakpoint resides, I get a message
saying that there's no source code available and have to manually go up a
stage in the call stack to see the function I'm interested in. If I step
into or over, I get the same box popping up and the debugger isn't showing
anything.

Is there any way to fix this? It's pretty much making debugging impossible.
The project's Debugging settings are set to mixed, and it seems OK in
managed classes. The code giving the problem is being compiled as managed
code since I haven't specified #pragma unmanaged for it.

Thanks for any help, it's driving me mad! :-)

Steve
Nov 17 '05 #1
0 1049

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

Similar topics

3
by: Shi Jin | last post by:
Hi there, I am now having a puzzle regarding what a function call actually does when called. I have a simple code to see what's going on. It is simply calling another simple function from...
3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
0
by: Niklas Pettersson | last post by:
A deffinite bug in mscorwks.dll makes my managed service crash abruptly. When hooking up windbg it turns out to be an "access violation" in the mscorwks assembly memory space. Every time it happens...
3
by: Tommy Vercetti | last post by:
I have a complex threading deadlock scenario that I've been able to reproduce in the debugger. I hit break and look at the call stack which should tell me what I need. Except I only get the very...
8
by: Gary Joy | last post by:
I really am banging my head with this one... I have a regular unmanaged C++ application that is using mixed DLLs to (amongst other things) call a C# back-end (which is using ADO .NET). I am...
2
by: rogero | last post by:
I'm having a nasty problem where the destructor of an automatic variable is invoked with the wrong address during stack unwinding. Below is a small example program. Roger Orr -- MVP in C++ at...
2
by: Zytan | last post by:
How can I show the function call stack window in VB 2005 Express? Debugging is rather hard without it... Thanks! Zytan
6
by: Ryan Liu | last post by:
Hi, I have a form, with some user control in it, usually hung up when I call form.Show(). I debug to there, I found in Visual Studio 2003, the call stack is empty! And CPU is not busy at...
5
by: jodelson | last post by:
Hello all! I am sorry my first post here is a question. I hope to contribute during the posting and replies on this thread. I am stuck for 1 week in a *** stack smashing detected *** bug in my...
1
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.