Share via


ucrtbased.pdb not loaded Using Visual Studio.

Question

Friday, January 27, 2017 3:56 AM

Hello,

I am using windows 10 home, visual studio version community 14.0.25425.01 Update 3. (C++)  When I step out of a class and continue stepping in the main source file I am getting : ucrtbased.pdb not loaded.  The module information version is 10.0.14393.33 (rs1_release_sec.160727-1952)  Original location : C:\Windows\SysWow64\ucrtbased.dll.  

I couldn't find this .pdb file on the computer and there is an option to view disassembly.  

I already have update 3 so I'm not sure what to do...

This happens when stepping through the global regions of the source file.  Could you help me please?

Thank you,

JoshuaE

All replies (9)

Friday, January 27, 2017 7:41 AM

Hi JoshuaE,

Other community members also submitted the similar connect report to the product team here:

https://connect.microsoft.com/VisualStudio/feedback/details/1610758/ucrtbased-pdb-cannot-be-found-on-symbol-server

Please make sure that you install the Windows 10 SDK and the latest version.

Please also enable the Microsoft Symbols Server under TOOLS->Options->Debugging->Symbols.

Debug it again.

Best Regards,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Friday, January 27, 2017 7:32 PM

I installed what you said and changed the setting.  Still didn't work.  So, I thought I'll plug that computer into the internet and it seemed to download what it needed...

So now when I step through it it creates a source called intiterm.cpp and goes there.  I don't know whats going on, it isn't my code, I'm just trying to step through my global code!

Help me please,

Joshuae


Monday, January 30, 2017 11:25 AM

Hi Joshuae,

Do you mean that you computer doesn't connect the internet before? If so, it couldn't download the symbols even if you enabled the symbols server.

Do you enable the source server?

https://msdn.microsoft.com/en-us/library/ms241613.aspx

Thanks,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Tuesday, January 31, 2017 12:28 AM

I enabled the source server, I also just updated KB3165756 and still when I press f10 to step over the source file it enters the function _initterm in Disassembly.  Is it possible to step through the global source code?

So far hasn't worked,

Joshuae


Tuesday, January 31, 2017 9:11 AM

You get desired result, if disabling symbol-loading for respective module? In your case ucrtbased.dll?
e.g. in Debug->Options... Debugging->Symbols 'Specify exluded modules?

With kind regards


Tuesday, January 31, 2017 2:14 PM

No, didn't work.  Maybe it's the solution and I should make a new project?

Joshuae

This is the first time I have tied separating all the header and all the class documents?  f11 steps into the class fine and Continue goes to next breakpoint fine, but f10 goes to the disassembly.

The pdb is in the cache, there are a few different dll versions.  And there is ucrtbase.dll.


Thursday, February 2, 2017 9:38 AM | 1 vote

Strange.

Some adjustments, which influence stepping behaviour (VS2015):
In 'Debug->Options...' 'Debugging->General'
 Uncheck 'Enable address level debugging'
 Check 'Enable Just My Code'
In 'Debug->Windows->Exception Settings' 'Restore the list to the default settings'.

With kind regards


Monday, February 6, 2017 8:44 AM

Hi Josheir.

What about this issue? Would you please let us know the latest information about this issue?

Thanks,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Thursday, November 22, 2018 12:22 PM

I was able to get ucrtbased.pdb when I compiled a 64th application on the 64th system