support

Forum Replies Created

Viewing 15 posts - 3,361 through 3,375 (of 7,854 total)
  • Author
    Posts
  • 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.

    in reply to: STM32 connection issues #23992
    support
    Keymaster

    The second last line can be ignored. It just means that VisualGDB closed the connection without issuing the proper shutdown command and it shouldn’t matter for connection tests.

    This time it actually looked like a successful test, so you should be able to debug your project now, although all we changed in that build was adding extra logging, so the problem might reoccur later.

    in reply to: STM32 connection issues #23988
    support
    Keymaster

    Thanks for the update. We have updated the temporary build to include more logging. Please try this one (same link):  http://sysprogs.com/files/tmp/openocd.exe

    support
    Keymaster

    Sorry, not sure what your question was. If you could provide an example of what you are trying to achieve, we should be able to help you find the correct setting.

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

    Thanks for the detailed description. Since this could be caused by a specific version of Boost, could you please share an archive with your MinGW toolchain (including the boost version you are using)?

    You can upload the archive to any file sharing service (e.g. Dropbox) and either share a link here, or report it via our support form.

Viewing 15 posts - 3,361 through 3,375 (of 7,854 total)