support

Forum Replies Created

Viewing 15 posts - 7,066 through 7,080 (of 7,540 total)
  • Author
    Posts
  • in reply to: VisualGDB vs WinGDB #2054
    support
    Keymaster

    Hi,

    We cannot really speak for the competitors here, so I will only list the key features of VisualGDB that are relevant to embedded systems and are intended to make your development as comfortable as possible:
    1. The MSP430 projects can be created easily by simply selecting your device type in the MSP430 wizard. All GCC flags, gdbproxy command line settings, etc. are configured automatically.
    2. The MSP430 hardware registers can be easily viewed using the special Hardware Register Viewer window.
    3. You can see the interaction between VisualGDB and GDB using the GDB Session window. This might be useful when diagnosing compatibility problems with third-party GDB stubs.
    4. You can easily change various project settings via the VisualGDB Project Properties context menu command. The properties editor is easy to use and includes a quick search option:

    5. VisualGDB automatically updates the makefiles instead of regenerating them. Thus you can always do your fine-tuning (e.g. change various GCC flags) or add new targets, while VisualGDB will keep your source file list in sync.

    Update: click here to learn more about VisualGDB features

    in reply to: Pretty print of stdlib C++ #2348
    support
    Keymaster

    Hi,

    Are you using clang to compile your code? Clang has a known debug information generation bug that prevents VisualGDB from obtaining a reference to the tree nodes. Could you please provide us with the errors listed in the “GDB Session” window?

    in reply to: Trial Seat ID #2093
    support
    Keymaster

    Hi,

    You are probably using the old VisualGDB 2.x release that is no longer available for new trials.
    Please download the latest VisualGDB 3.0 trial from http://visualgdb.com/download

    in reply to: Remote GDB "frozen" on "info target" command #2183
    support
    Keymaster

    Hi,

    “–interpreter mi” enables a special “machine interface” mode which is required for VisualGDB to understand its output.

    We could offer 2 workarounds for this bug:
    1. We could add a special “auto-ping” flag that will cause VisualGDB to repeat pinging GDB if a command takes too long to respond.
    2. We could add an option to disable the ‘info target’ command for a certain project. Disabling it will affect the main module name in the Threads window and module name detection in Call Stack window.

    Please let us know what’s the best for you.

    P.S. Please try building the latest GDB from source code. This should not take too much time (../gdb-version/configure && make -j<# of CPUs>), but will probably solve your problem in a much cleaner way.

    in reply to: Remote GDB "frozen" on "info target" command #2189
    support
    Keymaster

    Hi,

    Thank you for running the tests and sorry for the confusion between “target” and “info target”.
    This starts looking more like a bug of your GDB or a deep SSH protocol bug. Could you please try reproducing it with another SSH client (e.g. logging on from a Linux machine or using a Windows SSH client that is not based on libssh2)?
    Could you also try a different version of GDB?

    P.S. This is normal that the ‘timeout’ dialog is not shown when you are reproducing things manually. VisualGDB only shows it when it’s in full control of the GDB session and knows when to expect a reply. This does not pertain to manually launched GDB sessions.

    in reply to: Remote GDB "frozen" on "info target" command #2188
    support
    Keymaster

    Hi,

    Sorry for the delay, unsuccessfully tried to reproduce it on our side. This looks like some strange SSH protocol bug. In order to investigate it further please try the following:
    Once debugging has been started please go to the SSH session window, click on the hyperlink to start a session, then run GDB manually in the session:

    gdb

    then set a breakpoint manually, run the program and try issuing the ‘target’ command manually:

    b main
    r
    target

    Please let us know if the output of the ‘target’ command comes normally, or if you experience the same problem in the manual mode. If in the manual mode the problem does not reoccur, please rerun GDB in the MI mode:

    gdb –interpreter mi

    Although GDB output will look differently now, it will still accept normal commands. Please try running the same 3 commands to see if the ‘target’ output is incomplete.

    If you manage to reproduce the problem in the manual mode, please click at the console symbol inside the GDB session window. A multi-tabbed SSH client will be launched. Please open 2 tabs, try reproducing the frozen ‘target’ command in one tab and then see if typing anything in another tab affects the first tab.

    in reply to: Remote GDB "frozen" on "info target" command #2179
    support
    Keymaster

    Hi,

    Oops, sorry for that. Please provide us with the following information to pinpoint your problem:
    1. Does the problem occur on every debug session? If not, how frequently does it occur?
    2. Does the “timeout” dialog automatically disappear after 1-10 seconds? If this is a bug of LibSSH2, we have a safety mechanism that should automatically resolve such hanging within 1-10 seconds.
    3. Does invoking “info target” manually via the SSH Session window cause the same bug?

    in reply to: keeping shell alive during execution #2053
    support
    Keymaster

    Hi,

    Currently this is not possible directly. You can put a breakpoint at the end of the main() function to achieve a similar result.
    Using scanf() or cin should normally work. Please send us an archive with an entire test project (including the source code and the Visual Studio project files). If this is a bug of VisualGDB, this will help us to reproduce and fix it.

    in reply to: debugging compiles all sub-sprojects, how to stop #2227
    support
    Keymaster

    Hi,
    Please go to Visual Studio Configuration Manger (click on the debug/release switch on the toolbar) and remove the “build” flag for the projects you don’t want to build.
    Note that you can create as many solution configurations as you want all having different project sets enabled.

    You can also configure Visual Studio to prompt before auto-building the projects when you start debugging.

    in reply to: how to include header files? #2226
    support
    Keymaster

    Hi,

    Normally the Python include files are located in a Python-version subdirectory (e.g. /usr/include/python2.7/Python.h). Thus you need to add it to additional include path.
    This can be done by setting the INCLUDE_DIRS variable inside flags.mak. E.g.:

    INCLUDE_DIRS := /usr/include/python2.7

    If you are using a cross-compiler, the path will be:

    CROSS_SYSROOT := C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot
    INCLUDE_DIRS := $(CROSS_SYSROOT)/usr/include/python2.7

    in reply to: Wizard can’t "finish" #2196
    support
    Keymaster

    Thanks for the kind words. We do our best here at Sysprogs to make complex debugging scenarios easy and enjoyable.

      As for the cross-compiler, both options have pros and cons:

    • Building big projects with a cross-compiler is usually faster, as your computer is much faster than the Raspberry PI box. However, it will require synchronizing includes/libs and might cause strange bugs if the libraries inside the cross-compiler and on the Raspberry PI get out of sync.
    • Building and running GDB directly on Raspberry PI should work out-of-the-box for most cases, but it may become annoyingly slow for big projects with many source files.
    • If you are building an app that comes with a configure script that should run on Linux, you cannot use the cross-compiler unless you want to set the MSYS environment manually (which will still impose some limitations).

    Bottom line, VisualGDB fully supports both options, the choice is yours depending on what’s more important to you…

    in reply to: Wizard can’t "finish" #2194
    support
    Keymaster

    Thanks for this bugreport. Looks like it’s our bug related to using the build server.
    Please use SSH instead. The SSH support is a new feature introduced in VisualGDB 3.0 and we haven’t updated all our tutorials yet.

    Edit: fixed the bug and replaced the Beta2 distro. Thanks again for reporting it.

    in reply to: how to include header files? #2224
    support
    Keymaster

    Hi,

    When using a cross-compiler for Raspberry you need to copy any additional include files from the /usr/include on the Raspberry box to C:SysGCCraspberryarm-linux-gnueabihfsysrootusrinclude. Then the toolchain and the IntelliSense will recognize them correctly.

    You can use SmarTTY, our free SSH client to quickly download the entire include directory into the toolchain directory.

    in reply to: Wizard can’t "finish" #2198
    support
    Keymaster

    Hi,

    Thank you for your bugreport. Please provide us with more information so that we could pinpoint the problem:
    1. Which OS/VS version are you using?
    2. Are you selecting the default settings or changing something (e.g. setting up SMB shares)?
    3. Is your WIndows project directory writable.
    4. Is your Linux project directory writable?
    5. Are the remote file/directory browse dialogs working in the wizard (e.g. when you try to change the source directory)?
    6. If you enable the advanced wizard mode and disable importing of IntelliSense directories, will the problem still persist?

    As a last resort, please set the following registry value:
    HKCUSOFTWARESysprogsVisualGDBSettingsExceptionReportDir = c:tempvgdb

    Ensure that c:tempvgdb exists and is writable by the user account used to start Visual Studio.
    Then try reproducing the problem. If VisualGDB encounters any internal errors, it will create report files in c:tempvgdb. Please send us those for further diagnostics.

    in reply to: VisualGD and Android-x86 on VirtualBox #2276
    support
    Keymaster

    Please try VisualGDB 3.0 Beta 1. The problem is fixed there.

Viewing 15 posts - 7,066 through 7,080 (of 7,540 total)