support

Forum Replies Created

Viewing 15 posts - 6,901 through 6,915 (of 7,796 total)
  • Author
    Posts
  • in reply to: Precompiled headers & IntelliSense in VGDB5 #6408
    support
    Keymaster

    Yes, simply go to the IntelliSense Settings page of VisualGDB Project Properties and add “-include <forced include file>” to IntelliSense CFLAGS/CXXFLAGS.

    You can change the syntax highlighting colors via Tools->Options->Environment->Fonts and colors->Text Editor. VisualGDB automatically uses the standard C/C++ colors from the normal Visual C++ package (if they are supported in your VS version) and adds a few elements of its own (e.g. “C++ Constructors and Destructors”).

    in reply to: Remote Console does not work … #6390
    support
    Keymaster

    Hi,

    The easiest way to restore the broken Remote Console window would be to restore the .vgdbsettings file from your source control system. All debug settings are contained in that file and will be reverted by restoring it.

    If that is not possible, please try creating a new project with the project wizard and see if remote console is broken there as well. If not, compare the settings in your project with the settings in the new project to see what can be causing the problem.

    in reply to: Solution-wide per-user variables? #6387
    support
    Keymaster

    Hi,

    VisualGDB currently does not support solution-wide variables. However, you can use 2 mechanisms to define things globally:

    1. Use SSH host aliases (see the SSH Host Manager window) to avoid hardcoding machine names in your projects.
    2. Reference environment variables using the same syntax as the per-project variables: $(VarName).

    If this is insufficient, please let us know your scenario so that we could suggest a better solution.

    in reply to: VisualGDB 5.0 Intellisens Clang suggestions #6374
    support
    Keymaster

    Hi,

    Can you try replacing -std=c++11 with -std=gnu++11?

    in reply to: VisualGDB 5.0 Intellisens Clang suggestions #6354
    support
    Keymaster

    Hi,

    Can you attach a screenshot of the emmintrin.h file showing the error location and the color of tokens around it?

    Does your project specify -std=xxx explicitly in compiler flags? Can you open View->Clang IntelliSense Status, switch to Project Status and share the value of CFLAGS and CXXFLAGS displayed there?

    Please also confirm whether the problem happens while trying to edit a .c or .cpp file.

    in reply to: Clang Intelli Sense and c++11 #6352
    support
    Keymaster

    Hi,

    Please try again now. The download page should point to the correct installer.

    in reply to: Clang Intelli Sense and c++11 #6348
    support
    Keymaster

    Hi,

    Please try the latest Preview 4 build. It enables C++14 features by default.

    in reply to: Using Linux libraries with cross-compiler #6347
    support
    Keymaster

    Hi,

    I presume, you mean VisualGDB, not WinGDB. Yes, simply click “resynchronize toolchain” on the Build Settings page of VisualGDB Project Properties and VisualGDB will automatically fetch those files for you.

    in reply to: Trouble getting started with VisualGDB on the OUYA #6346
    support
    Keymaster

    Hi,

    You can specify NDK_MODULE_PATH via Make arguments in VisualGDB Project Properties (Build Settings page).

    in reply to: Import existing Android studio project #6345
    support
    Keymaster

    Hi,

    You can specify NDK_MODULE_PATH via Make arguments in VisualGDB Project Properties (Build Settings page).

    in reply to: iostream linker error #6344
    support
    Keymaster

    It might be possible in theory, but in practice many Cygwin-specific functionality will simply crash randomly because it will expect certain process-wide preparations to be made by the host executable (that will not be made as your EXE is not cygwin-based). You could try investigating and fixing those crashes, but using MinGW would be a much easier solution.

    in reply to: how to debug in target machine? #6343
    support
    Keymaster

    You do not need to copy the source code to the target machine. Although GDB running there won’t be able to locate the source files, it will report the file paths to VisualGDB. And as long as VisualGDB has the correct path mappings (configured via VisualGDB Project Properties), it will be able to map those paths to the correct source files on the Windows machine.

    in reply to: gdbserver not found #6342
    support
    Keymaster

    Hi,

    Thanks for reporting this. Looks like VisualGDB missed one step in detecting the new library locations introduced in Android 5.0. Please try VisualGDB 5.0 Preview 4 and let us know if it works.

    in reply to: iostream linker error #6336
    support
    Keymaster

    Hi,

    Are you trying to load a Cygwin DLL into a non-Cygwin EXE? If yes, this is unsupported and can cause very strange bugs. I would recommend building your code with MinGW instead of Cygwin. It does not emulate certain Unix-world things like fork(), but is much easier to integrate with existing code from the Windows world.

    in reply to: Apparent bug in VisualGDB #6335
    support
    Keymaster

    Hi,

    We tried reproducing it on a basic Windows project, but could not get VisualGDB to issue wrong frame commands. Can you reproduce it with a basic MinGW-based application? Does it also happen with GDB 7.0+ (VisualGDB should use the –frame argument instead of -stack-select-frame)?

Viewing 15 posts - 6,901 through 6,915 (of 7,796 total)