support

Forum Replies Created

Viewing 15 posts - 6,616 through 6,630 (of 7,855 total)
  • Author
    Posts
  • in reply to: How to structure flash memory in VisualGDB #7473
    support
    Keymaster

    Hi,

    Normally you need to edit the linker script and use the “section” attribute to place code and data into a specific memory. You can read more in this topic. If it does not help, please give us an example of what you are trying to do so that we could give a better suggestion.

    support
    Keymaster

    Hi,

    This means that you are missing the reference to the static library (should be called libPoco.a or something similar). Note that if you have just downloaded the sources from Internet, you need to configure and build the library according to the instructions provided by its vendor. This will produce the .a file that you can reference from VisualGDB Project Properties (normally add the directory with the .a files to the Library Directories and add the library name without the ‘lib’ prefix to the Additional Libraries).

    support
    Keymaster

    Hi,

    Qt creator may be explicitly querying the type of each variable or may be using some GDB extension that VisualGDB does not support.

    We can investigate this during the v5.2 release cycle, however if you could obtain a full GDB command log from Qt creator (if it supports creating such logs or shows the executed GDB commands somewhere), we may be able to include a fix in the upcoming v5.1 release.

    The breakpoint problem does not sound like any known issue, can you reproduce it on a “Hello, world” project and send it to us so that we can see what’s happening? You can also run the “info breakpoints” command in the GDB Session window to find out the address where the breakpoint was put and then use the disassembly window to understand whether this address is correct and actually contains the constructor code.

    support
    Keymaster

    Hi,

    Please right-click on your project in Solution Explorer, select “VisualGDB Project Properties”, go to the Makefile Settings page and add the include directories there.

    Let us know if you run into further problems.

    in reply to: C++11 Intellisense in Visual Studio 2015 #7460
    support
    Keymaster

    Hi,

    Yes, we specifically designed the Clang engine to run in a separate process so that any crashes inside clang don’t affect your Visual Studio.

    Are you able to reliably reproduce some of the crashes and send us the repro instructions? If it only happens with your project, we can send you a debug build of the engine so that you could create a dump file.

    We have easily fixed previous crashes like that, so your crash dumps are more than welcome.

    in reply to: Binary Output Path #7459
    support
    Keymaster

    Hi,

    Yes, that would work. You can also add a command to the Makefile to copy the built library to a common output directory after it is linked. Let us know if you need a detailed example on that.

    support
    Keymaster

    Wow, thanks for the detailed description!

    We indeed don’t support OTA out-of-the-box, to the instructions you provided should be very useful for the other users looking for it.

    We will also consider supporting it directly in one of the next versions.

    We’ve also fixed the ‘cancel’ button behavior during the connection attempt in the upcoming VisualGDB 5.1 Preview 2.

    in reply to: How to Create a Bare Minimum Project? #7446
    support
    Keymaster

    Hi,

    You can go to the VisualGDB Project Properties, open the Embedded Frameworks page and remove references to HAL or StdPeriph. This will only leave the startup file and the linker script in your project.

    We are not aware of any code that calls malloc() during initialization. Can you reproduce this on a “Hello, World” project and send it to us?

    support
    Keymaster

    Hi,

    This is a known limitation. The problem is that for typedef’ed types GDB reports the typedef name instead of the actual type name and resolving each unknown type would have a significant performance impact.

    in reply to: VisualGDB can't debug parts of a library #7444
    support
    Keymaster

    Hi,

    Most likely you are either not deploying your library or are using the wrong symbols. Please ensure that the modified version of the library ends up both:

    • On your Raspberry Pi
    • In the sysroot directory of your toolchain. You can check the exact path by running the “info shared” command in the GDB Session window
    in reply to: The APK file does not contain gdbserver for x86 #7443
    support
    Keymaster

    Hi,

    Unfortunately there is no easy or practical way to do that. If the APK vendor has not provided the sources/symbols, you cannot simply reconstruct them from the app.

    in reply to: Prevent VisualStudio lock up when launching debugger #7442
    support
    Keymaster

    Hi,

    Normally launching the debugger should be fairly fast, so VisualGDB does it in the foreground. Do you have an idea why is it taking 10 seconds each time? Are you deploying large binaries? Do you experience the same delays with a “Hello, World” project?

    in reply to: Binary Output Path #7441
    support
    Keymaster

    Hi,

    You can change the output directory on the Makefile Settings page of VisualGDB Project Properties. However, if you have several projects in the same directory, you would need to change the Makefile names for them (same page of properties) to ensure that they are using different Makefiles and their settings are stored separately.

    in reply to: Moved: Reply To: NRF51X22 DFU support in examples #7433
    support
    Keymaster

    Hi,

    Please check your link command line in the build output. Does it include the ftk.o file twice? If yes, please ensure that you don’t have two different ftk.c files in your project.

    in reply to: The APK file does not contain gdbserver for x86 #7431
    support
    Keymaster

    Hi,

    Unfortunately that won’t work because the Play Store apps contain release versions of the libraries that simply don’t have debug symbols required for debugging. So even if you manually set the ‘debuggable’ attribute and copy gdbserver, you won’t be able to get any meaningful debugging experience.

Viewing 15 posts - 6,616 through 6,630 (of 7,855 total)