No symbols loaded when remote debugging

  • Thread starter sebastian.the.mueller
  • Start date
S

sebastian.the.mueller

Hi there, I hope someone can help me with my problem.

I want to use remote debugging. The Program, that I want to debug runs
on machine b. Visual Studio runs on machine a. On machine b I have a
folder with the following files

msvcr72.dll msvsmon.exe NatDbgDE.dll NatDbgDEUI.dll NatDbgEE.dll
NatDbgEEUI.dll

If you think, there are files missing, could you also describe, where
I find them usually? In the next step I start the msvsmon.exe and my
program on machine b. On machine a I start Visual Studio 2008 and my
solution in which the program was written. Then I choose Debug -
Attach to Process. I take Remote Transport (Native Only with no
authentication). I use the correct IP as qualifier and take the right
process (program.exe). After a while the following message occurs in a
popup-window

"Unhandled exception at 0x7c812a7b in program.exe: 0xE0434F4D:
0xe0434f4d"

I have the possibility to continue or break, when continuing the
exception-message occurs again and again and again. So I pressed break
and then the following message occurs

"No symbols are loaded for any call stack frame. The source code
cannot be displayed.

I hope someone can help me. Thanks for any effort.

Greets

Sebastian
 
J

Jon Skeet [C# MVP]

On Sep 30, 7:23 am, "(e-mail address removed)"

<snip>

And so it begins - this is the first time I've seen a post on the
newsgroup and Stack Overflow as a means of getting a broader audience,
but I'm sure it won't be the last.

To the OP: I'm afraid I don't have an answer to your question.

To the rest of the group: I think it's worth becoming familiar with
Stack Overflow (www.stackoverflow.com) if you're not already. I would
be sad to see newsgroups finally die as has been predicted for so many
years, but if they do, Stack Overflow will be a better alternative
than any other that I've seen so far.

Jon
 
S

sebastian.the.mueller

[...]
I have the possibility to continue or break, when continuing the
exception-message occurs again and again and again. So I pressed break
and then the following message occurs
"No symbols are loaded for any call stack frame. The source code
cannot be displayed.

Have you copied the .pdb file over to the remote machine along with your  
.exe?

It's been a few years since I've done any remote debugging and my  
recollection might be wrong.  But I think msvsmon.exe does symbol lookups  
on its end, and for that it needs the .pdb file.

It's worth a try anyway.  :)  In any case, that error can happen whenthe  
debugger can't find the .pdb file.  So one way or the other, I think the  
.pdb file is missing.  Figure out why, and you'll solve your problem.

Pete

so I have to put the pdf-files in the folder of the remote debugger?
To all the dll's and the msvsmon.exe? I will try it.
 
J

Jon Skeet [C# MVP]

[...]
To the rest of the group: I think it's worth becoming familiar with
Stack Overflow (www.stackoverflow.com) if you're not already. I would
be sad to see newsgroups finally die as has been predicted for so many
years, but if they do, Stack Overflow will be a better alternative
than any other that I've seen so far.

Okay, I admit...I've looked at it all of three minutes.  But,  
topic-specific forums?  Don't see them.

Use tags instead. Want to see all C# posts? Click on the C# tag. I
actually prefer that - it sorts out the cross/multi-posting problem
reasonably nicely, so you can have a genuinely "multi-technology" post
very simply.
 What about maintaining read/unread status?  Killfiles?  Offline access?  Consolidation of  
multiple forums in a single user-interface?

All missing, certainly - but I suspect they're slightly less important
than they are for a newsgroup. It's certainly a different medium - and
one less suited for in-depth discussions, sadly - but I think it's
good for getting answers out.

My guess is that offline access will come at some point using HTML 5,
but we'll see.
These are features that I find critically useful in a newsreader/newsgroup  
environment.  I'll miss the discussion if the newsgroups just disappear,  
but I seriously doubt that a web site is going to be compelling enough as 
a forum platform for me to bother.  I've used dozens of web-based forums,  
and have yet to see any implementation that includes all the important  
features of a newsreader.

It's indeed unfortunate that the world seems to be moving more and more  
toward web-based forums.  There's so much missing from them, and the  
headaches seemingly endless.  Users that don't know the difference will, I  
suppose, keep that technology alive.  But many of the rest of us may well  
just give up.  :(

I'm a massive non-fan of most web forums too. This is the first one
which works well enough for me to use it for significant periods. I
also have some confidence that it will continue to improve - for
things like offline access etc.

I'm concerned that it doesn't foster discussion - or even promote in-
depth answers, with the current bias towards quick answers - but maybe
that can be worked out. The lack of threaded responses is the killer
for proper discussion, IMO: there's the question, answers, and
comments to answers.
Of course, there is also the annoyance factor of having taken the time to 
respond to a question when it turns out it's already been answered  
elsewhere.  I empathize with the OP's desire to reach the broadest  
audience, but frankly there's no difference between what he's done here  
and the much-abhorred practice of multi-posting to Usenet.  It necessarily  
will waste _someone's_ time, which is just plain rude.

Yes - although I expect to see this happening more often in the near
future. We'll see.

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top