having bad problem with kernelbase.pdb not found

bobscott 41 Reputation points
2021-01-17T19:35:18.9+00:00

Trying to make a change in existing product using VS 2019 community. This has always worked until now.

When starting debug a Remote Machine (ARM) running WindowsIOT, I ow get the error "kernelbase.pdb not found.

Output log shows the following

'ITerm-1A.exe' (Win32): Loaded 'U:\Programs\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.27031.1_arm__8wekyb3d8bbwe\System.Collections.Immutable.dll'.
Exception thrown at 0x77206BEF (KernelBase.dll) in ITerm-1A.exe: WinRT originate error - 0x80070002 : 'System.IO.FileNotFoundException: The system cannot find the file specified.

Slave address was not acknowledged.
at Windows.Devices.I2c.I2cDevice.Write(Byte[] buffer)
at ITerm_1A.ABE_Helpers.WriteI2CByte(I2cDevice bus, Byte register, Byte value)
at ITerm_1A.RTCPi.configRTC()
at ITerm_1A.MainForm..ctor(Boolean ResetOcrd)
at ITerm_1A.MainPage.MyWindow_Loaded(Object sender, RoutedEventArgs e)'.

I am stumped!! Please help. Will be greatly appreciated!

Regards Bob Scott

Windows for business Windows for IoT
Developer technologies Visual Studio Debugging
0 comments No comments
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,426 Reputation points
    2021-01-18T08:47:06.747+00:00

    Hi bobscott ,

    Please try to enable the Microsoft Symbol Servers in Tools/Options/Debugging/Symbols.
    57548-image.png

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Elangovan N 11 Reputation points
    2021-07-14T14:01:08.417+00:00

    Close visual studio & restart your system . It worked for me.

    2 people found this answer helpful.
    0 comments No comments

  2. bobscott 41 Reputation points
    2021-01-19T15:01:21.117+00:00

    Really slowed things down (many minutes).

    Problem seems to have been that the i2c was not working. Everything now OK.

    Many, many thanx for your help!!!

    Regards bob

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.