support

Forum Replies Created

Viewing 15 posts - 3,376 through 3,390 (of 7,873 total)
  • Author
    Posts
  • in reply to: find references: same file found more than once #24026
    support
    Keymaster

    No problem, please try this build: VisualGDB-5.4.103.2933.msi

    in reply to: Update kernel in debuggee #24024
    support
    Keymaster

    Please try clicking the “Manage cached Linux Kernel Symbols” link in the kernel symbol selector:

    This will show all kernel symbols cached by Visual Kernel for that machine. If they are no longer relevant, please delete them and import another kernel by pressing the “Import symbols/sources” button.

    Attachments:
    You must be logged in to view attached files.
    in reply to: dear developers… please add this major functionality #24023
    support
    Keymaster

    Thanks for the update. If the problem is not reproduced on Linux, it is likely caused by some specific combination of settings related to your MinGW setup and the only way for us to help you with this would be if you could share your environment as a single ready to use package.

    You could also try reinstalling MinGW from scratch, building another copy of boost inside it and checking if that resolves the issues. If the problem is caused by some leftovers from previous experiments in your current environment, creating another one from scratch will fully solve it.

    in reply to: Why can't add directory to Intellisense Directories? #24022
    support
    Keymaster

    Thanks for the clarification. We have published a detailed tutorial showing how VisualGDB computes the IntelliSense directories for Advanced CMake projects and how to diagnose various issues related to them: https://visualgdb.com/tutorials/IntelliSense/.

    If it doesn’t help, please share your observations (contents of the cache files and the flags reported in Clang IntelliSense Diagnostics Console) and we will help you get it to work.

    in reply to: arduino projects don't work with arduino 1.8.8 #24021
    support
    Keymaster

    Thanks, we have updated the default directories used by VisualGDB to locate Arduino packages. Please try this build: VisualGDB-5.4.103.2931.msi. It also fixes the version comparison, so it should now install the final 2.5.0 package.

    If the building still doesn’t work, please try removing all old versions of the ESP8266-related tools (e.g. the entire esp8266 subdirectory in the Arduino packages directory) and let the new build install the latest version.

    It also looks like the latest ESP8266 Arduino core (2.5.0) finally fixes the breakpoint issues with the gdb stub, so the debugging experience will now be much better. Please ensure you update the ESP8266 debug package to version 1.2 via VisualGDB Package Manager as the previous one is not compatible with the new Arduino core.

    We have also updated our ESP8266 Arduino tutorial to reflect the latest changes.

    If you still cannot get the project to build, please try comparing the arduino-builder command lines (used by VisualGDB and Arduino IDE) using Process Monitor and then try running it manually to see which exact difference triggers the issue.

    in reply to: Build failed no error esp_32 project #24020
    support
    Keymaster

    Hi,

    Please carefully review the entire build log. It should normally contain more information about the error before that line. You can scroll the log up using the scroll bar on the right side of the Output window.

    in reply to: Intellisense Search Path Request #24019
    support
    Keymaster

    Thanks for clarifying this. If the physical path to the gcc executable remained the same, indeed VisualGDB would keep the old cached values.

    Either way, it is recommended to do a full rebuild of your project after changing the gcc executable to ensure that the object files produced by the old and the new toolchains won’t get mixed and this process will also clear out the VisualGDB cache.

    support
    Keymaster

    Good to know it works. If you encounter further issues, don’t hesitate to create another topic and we will be happy to help.

    in reply to: Intellisense Search Path Request #24015
    support
    Keymaster

    No worries. For CMake projects the implicit toolchain directories are indeed cached in the VisualGDBCache directory, although they should get invalidated when the gcc executable changed. The only exception would be if you changed gcc via your own CMake scripts (not maintained by VisualGDB), but kept the old toolchain in the VisualGDB settings.

    in reply to: VGDB Not executing custom debug steps #24006
    support
    Keymaster

    Hi,

    We have tried reproducing this with a simple MinGW-based project (running notepad.exe after gdb exits) and it did work as expected, so the problem is likely triggered by some specific combination of settings.

    Please try reproducing it on a freshly created project and share the archive with the project so that we could see what is going on. Also if you discover that the problem is specific to a particular project type, or a particular scenario that can be reproduced without the project archive, please let us know.

    in reply to: dear developers… please add this major functionality #24005
    support
    Keymaster

    Thanks for the update. Unfortunately it looks like the latest MinGW-W64 toolchain does not include boost as a pre-built package, so in order to reproduce this we would need to build it from scratch (that might result in different results due to slightly different configuration).

    We have tried reproducing the problem you described using a Linux VM after installing boost as a package, however we could not get the behavior you described. It also looks like the code you pasted is not from an actual project (it had a missing semicolon and a typo in the class name). Unfortunately problems like this one are often triggered by a rare combination of small factors and a rough description of the setup without the exact repro setup will not be sufficient.

    You don’t need to share any production code, you could simply try reproducing the problem on a newly created project with the dummy classes, ensure that it behaves the same way and send us a link to the archive containing the project along with all dependencies (e.g. the toolchain and boost). There will be a high chance we will manage to reproduce the behavior on our side and fix it or suggest a workaround.

    P.S. If you are using boost, please consider copying the boost includes to a separate header file and setting it as an IntelliSense-only precompiled header (VisualGDB Project Properties -> IntelliSense Settings). This will dramatically improve IntelliSense performance as VisualGDB will be able to cache the boost headers instead of reparsing them each time you change one of your own headers.

    in reply to: Update kernel in debuggee #24004
    support
    Keymaster

    Are you using VisualKernel to build the kernel itself, or have you already built and installed it manually?

    in reply to: Intellisense Search Path Request #24003
    support
    Keymaster

    Hi,

    VisualGDB also queries the explicit/implicit directories from gcc. Depending on your project type, this is done during the toolchain testing or during the project load.

    If you believe it is not working, please let us know your project type (i.e. whether you are using Advanced CMake and whether the project is built on the Windows or Linux machine) and we will help you get it to work.

    support
    Keymaster

    Thanks for clarifying this. Is it a remotely built Advanced CMake project? If this is the case, VisualGDB tries connecting to the remote machine in order to query the code structure from CMake (this ensures that the project structure shown in Solution Explorer exactly matches what will be actually built).

    If you have previously opened the same project on the same machine, you can cancel the connection so that VisualGDB will display the cached project structure, however the project editing functionality that depends on getting updated information from CMake (e.g. adding new files to targets) won’t work.

    If you don’t want to have continuous access to the Linux VM, please consider using a Windows cross-toolchain instead. In this case CMake will run on the Windows machine, so no remote connection will be required until you start debugging.

    in reply to: Why can't add directory to Intellisense Directories? #23997
    support
    Keymaster

    Not sure what you meant. Please try attaching a screenshot of the problem, showing what you are trying to achieve and what you actually observe and we will help you get it to work.

Viewing 15 posts - 3,376 through 3,390 (of 7,873 total)