GithubHelp home page GithubHelp logo

Comments (5)

sean-mcmanus avatar sean-mcmanus commented on June 29, 2024

@XuanofXXX Can you provide a screenshot of the code the defines mm_free? The source of the problem could be there.

from vscode-cpptools.

XuanofXXX avatar XuanofXXX commented on June 29, 2024

Not only does the mm_free function exhibit this bug, but almost all functions are experiencing incorrect jumps.
Here is the screenshot of the mm_free:
image

from vscode-cpptools.

sean-mcmanus avatar sean-mcmanus commented on June 29, 2024

@XuanofXXX If you set C_Cpp.loggingLevel to "Debug", what do you see in you make an edit to mm.c, such as renaming mm_free to mm_free2? Do you see a "tag parsing" message? Are there any error messages? Does the Outline update with the new name, and is the position still wrong?

Otherwise, does doing a Reset IntelliSense Database fix the issue?

It seems like the database has wrong positions for the symbols for some reason.

BTW, the definition of mm_free seems okay, nothing unusual.

from vscode-cpptools.

XuanofXXX avatar XuanofXXX commented on June 29, 2024

After resetting the IntelliSense database, the issue was resolved. Renaming mm_free also helped, but there's still a 3-second delay. Is it normal?

from vscode-cpptools.

sean-mcmanus avatar sean-mcmanus commented on June 29, 2024

@XuanofXXX Yeah, your database must have been either outdated or "corrupt" -- it's possible the cause of the corruption might have been fixed in 1.20.2. A 3-second symbol update delay is normal.

from vscode-cpptools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.