Forum Replies Created
-
AuthorPosts
-
support
KeymasterH,
Thanks for the repro. It looks like your toolchain fine sets the CXX executable in a way that confuses CMake. Please try moving the compiler arguments into a separate CMAKE_CXX_FLAGS statement:
set(ENV{CXX} "arm-vgdbtest-linux-gnueabi-g++" CACHE STRING "" FORCE) set(CMAKE_CXX_FLAGS "-march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$ENV{SDKTARGETSYSROOT}" CACHE STRING "" FORCE)March 3, 2018 at 04:06 in reply to: 5.4.1.2075: Unable to create SSH connection without password #20307support
KeymasterHi,
Thanks for reporting this, looks like a side effect of the recent WPF redesign of the authentication GUI. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.1.2081.msi
support
Keymastersupport
KeymasterHi,
OK, we have released v5.4 Preview 1 that supports the new advanced ESP-IDF project subsystem. You can download the build here. You can read the announcement with the main highlights of the new subsystem here: https://sysprogs.com/w/announcing-visualgdb-5-4-preview-1/.
-
This reply was modified 8 years, 8 months ago by
support.
support
KeymasterHi,
The build number (2077) looks correct, so looks like it got installed properly this time.
support
KeymasterHi,
Perhaps you have configured the VisualGDB’s raw terminal to open COM2? Either way, please try searching the .vgdbsettings file for any mentions of COM2. If none are found, please attach a screenshot of the error message you get and we will try to suggest you which setting could be affecting it.
support
KeymasterHi,
Thanks, we have rechecked the updated example. VisualGDB currently only supports one test binary per project (we might be able to improve it in v5.4), sorry. As a workaround please try defining tests in static libraries and linking them into one large executable.
We also tried actually running tests in your project, however they did not report the results as the SysprogsTestHook_TestStartingEx() function was never called. This could be caused by differences between the test framework you are using and the one VisualGDB puts into newly created projects. Please try creating a regular MSBuild-based test project, setting a breakpoint in SysprogsTestHook_TestStartingEx(), reviewing the call stack and analyzing why it doesn’t get called in your project.
Naturally once we officially support advanced CMake-based unit tests, we will ensure it works out-of-the-box.
March 1, 2018 at 05:33 in reply to: Compiler warnings from Keil toolchain incorrectly formatted #20294support
KeymasterHi,
Yes, v5.3 won’t handle this correctly unless you edit the file. It will be fully fixed in the upcoming v5.4.
support
KeymasterHi,
Strange, we have just double-checked that project on a different machine and it still worked. Please double-check the timestamp on the C:\Program Files (x86)\Sysprogs\VisualGDB\CppEngineCore64.dll file – it should be February 26th. If not, please double-check the VisualGDB version under Help->About VisualGDB and try reinstalling the temporary build we mentioned.
support
KeymasterHi,
Any edit to the source file should be sufficient to rebuild the related parts of the cache. If this still doesn’t work, please let us know.
support
KeymasterHi,
Unfortunately the way WSL allocates memory is completely outside VisualGDB’s control. Please try running the same project on a 64-bit Kubuntu VM, if the problem is caused by WSL-specific patches, it should help resolve it.
support
KeymasterHi,
Thanks, we have reproduced and fixed the problem. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.1.2077.msi
February 27, 2018 at 04:25 in reply to: Building binary using different static library configurations #20280support
KeymasterHi,
Thanks for clarifying this. For Make-based projects VisualGDB uses a very basic logic to track references – it will read the target name from the referenced Makefile, and will combine it with the $(BINARYDIR) expression, assuming that the binary directories for both Makefiles are the same. The resulting path will be hardcoded in the EXTERNAL_LIBS variable of the referencing project.
If you prefer using Makefiles to MSBuild, please ensure all projects that reference each other have matching binary subdirectories. Another option would be to switch to MSBuild – in this case the project references are stored as actual MSBuild references and VisualGDB will compute the correct paths during build.
Yet another option would be to try Advanced CMake (VisualGDB can import CMake-based embedded projects, but cannot create them yet). This will let you build your projects outside VisualGDB, but will also provide much better flexibility than MSBuild.
February 27, 2018 at 04:14 in reply to: DirectSSH sample works, but target hangs after a minute or so #20279support
KeymasterHi,
The debug part of the Linux kernel is relatively buggy – unless you are using JTAG or the VMWare debug stub that runs outside the kernel, the debugging functionality will run inside the kernel and may eventually lock up when the debugger-related logic tries to access some kernel resources that are used by some other part. VisualKernel does its best working around known instances of this, however there are still many cases when debugging is not reliable.
For best debugging experience we recommend using the VMware GDB stub that runs outside the kernel.
-
This reply was modified 8 years, 8 months ago by
-
AuthorPosts