Share via

having bad problem with kernelbase.pdb not found

bobscott 41 Reputation points
Jan 17, 2021, 7:35 PM

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 IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
412 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,050 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,426 Reputation points
    Jan 18, 2021, 8:47 AM

    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
    Jul 14, 2021, 2:01 PM

    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
    Jan 19, 2021, 3:01 PM

    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.