Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335547

Summary: Debugging not possible - error message: No source available for "ntdll!DbgUiConnectToDbg() "
Product: [Tools] CDT Reporter: Vladimir <vladimir.cundekovic>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: major    
Priority: P3 CC: cdtdoug, malaperle, Michael_Rennie, pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vladimir CLA 2011-01-27 04:38:05 EST
Build Identifier: 20090920-1017

It is not possible to debug any longer. (although, it worked several days ago)
I got error message:
No source available for "ntdll!DbgUiConnectToDbg() " 

I am on short deadline, and I rely need your support/solution as quick as possible.

Reproducible: Always
Comment 1 Michael Rennie CLA 2011-01-27 10:11:18 EST
What kind of debugging are you trying to do?

Do you have any stack traces?

The workspace log?
Comment 2 Vladimir CLA 2011-01-28 02:07:55 EST
(In reply to comment #1)
> What kind of debugging are you trying to do?
> Do you have any stack traces?
> The workspace log?

I have code writen in C++. And I want to check some variables (and how program behaves in specific situation). I am using MinGW gdb Debuger.

But before I get chance to do anything I got this error message:
No source available for "ntdll!DbgUiConnectToDbg() " 
Abd button "View Disassembly...".
If I press it I got this:
0x7c90120f <ntdll!DbgUiConnectToDbg+1>: ret 
0x7c901210 <ntdll!DbgUiConnectToDbg+2>: mov %edi,%edi

Where can I find workspace log?
Directory I specified as workspace, is almost empty. There are some files, but nither of them looks like log...
Comment 3 Michael Rennie CLA 2011-01-28 10:28:33 EST
(In reply to comment #2)
> Where can I find workspace log?
> Directory I specified as workspace, is almost empty. There are some files, but
> nither of them looks like log...

<path to your workspace>/.metadata/.log

Moving to CDT they handle the C++ debugger stuff
Comment 4 Vladimir CLA 2011-01-31 02:08:58 EST
(In reply to comment #3)
> (In reply to comment #2)
> > Where can I find workspace log?
> > Directory I specified as workspace, is almost empty. There are some files, but
> > nither of them looks like log...
> <path to your workspace>/.metadata/.log
> Moving to CDT they handle the C++ debugger stuff

I do not have ".log" subdirectory. In subdirectory ".metadata" there are only ".mylin" and ".plugins"
Comment 5 Marc-André Laperle CLA 2011-02-26 01:38:03 EST
Maybe you are seeing bug 309205. Which version of gdb are you using? 
Try this:
In Debug Configurations, Debugger, Shared Libraries, uncheck "Load shared library symbols automatically"
or you could try using the newer DSF debugger instead of CDI:
In Debug Configurations, Select Other (link at the bottom), choose GDB (DSF) Create Process Launcher