Forum Replies Created
-
AuthorPosts
-
December 5, 2013 at 07:53 in reply to: Bug in VisualGDB Project Properties/qmake project settings? #2838
support
KeymasterHi,
We are aware of the first issue and will be releasing a fix in the next r release. It is safe to ignore the toolchain test fail and save the settings anyway as the issue is only with toolchain testing.
For the second issue, in the Qt pro file both library names and directories are stored in the same location. VisualGDB displays them in different fields to allow custom editors such as folder browsing. In the debug.pro file, what is the value of the LIBS variable?
support
KeymasterHi,
We tried your project, for us the breakpoints were set both in the project and library files. Have you tried rebuilding the project?
If you still experience issues with breakpoints, try the Android breakpoint issues tutorial for hints or submit us a full gdb log.
December 5, 2013 at 07:27 in reply to: Running project locally with cross-compiler vs linux network #2837support
KeymasterHi,
It looks like the project is successfully built but fails to be deployed to Raspberry Pi. Try deploying manually to see if it fixes the problem.
To do it, in Visual Studio go to Tools->SSH Host Manager and open a console using the Raspberry Pi connection. You can use the SCP menu to transfer the project’s executable from C:inetpubwwwrootFlashGrowDBFlashGrowDBDebug” to /tmp on Raspberry Pi.December 2, 2013 at 07:36 in reply to: Running project locally with cross-compiler vs linux network #2835support
KeymasterHi,
Thanks for finding that out. It looks like your GCC does not create a valid binary when being tested, but also does not return any error code and that confuses VisualGDB. Could you please press the “ignore” button in the error dialog and see whether a buildable project is created?
support
KeymasterHi,
This looks like a bug in our toolchain. Thanks for reporting it, we will fix it in the next release. In the meanwhile please use the following workaround:
1. Download mv.exe to SysGCCRaspberrybin
2. Modify SysGCCRaspberryarm-linux-gnueabihfsysrootusrshareqt4mkspecsarm-linux-gnueabihfqmake.conf so that QMAKE_MOVE is set to mv:QMAKE_MOVE = mv
3. Create a file called ln.bat in SysGCCRaspberry with the following contents:
copy /y %2 %3
December 1, 2013 at 04:50 in reply to: Running project locally with cross-compiler vs linux network #2833support
KeymasterHi,
Could you please verify that the /tmp directory on your Raspberry PI device exists and is writable? You can check it by connecting to your Raspberry PI via SmarTTY and running the following command:
ls -l / | grep tmp
December 1, 2013 at 04:47 in reply to: Command line equivalent for flashing, running openocd/gdb #2817support
KeymasterHi,
Unfortunately VisualGDB only functions as a Visual Studio add-in and cannot be used separately from it. If you want to make your own build/debug setup that is not dependent on VisualGDB, please consider OpenOCD manuals/forums, STM32 community and GCC community for further information.
support
KeymasterHi,
Thanks for your feedback. Unfortunately we were not able to reproduce your problem on our side.
Does this happen on one specific project or even on our ‘LED blink’ demo generated by the wizard? Are you using the latest GCC 4.8.2 or an older version?support
KeymasterHi,
You can use either NFS shares or SMB shares (via samba) to setup folder sharing between two Linux computers. VisualGDB currently does not support configuring those automatically, however there are numerous tutorials on doing that, simply search online for the one relevant for your Linux distro.
Once you have setup the share simply go to VisualGDB Project Properties, Debug page, update the deployment path and enable the “don’t auto-deploy” checkbox. VisualGDB will then assume that the deployment is done by some other tool and will simply launch debugging using the path you have specified.
support
KeymasterHi,
Unfortunately we have not tested our tool with Phonon. If it does not work for you, you can either try starting it manually from the console and then attaching to it (select ‘attach’ in VisualGDB Project Properties) or look into the Phonon source to understand what API it is using to interact with the hardware and why it is not working over SSH. You can try selecting ‘Show X11 windows on the remote computer’ in VisualGDB Project Properties to see if it solves the problem.
support
KeymasterHi,
If you could provide a GDB log and/or screenshots illustrating your problem, we could be able to help you further.
support
KeymasterAre you using some third-party ‘test’ binary. The one included in our Beaglebone toolchain returns 0 when used with slash at the end. You can test it using the following code:
mkdir xxx test -d xxx || echo ERROR1 test -d xxx/ || echo ERROR2 test -d yyy || echo ERROR3
support
KeymasterHi,
Which Qt version for Windows have you downloaded?
support
KeymasterHi,
When we tested it on our side the problem never happened because the Debug directory was created by qmake, so the ‘mkdir’ command was never executed.
Have you changed any files that could result in a change of this behavior? Does doing a full rebuild solve the problem?support
KeymasterHi,
This is the limitation of the manual shared folder mode. You can overcome it by switching to the “shared windows folder mode”.
Simply select “Use a shared Windows folder” in the Project Properties, click “Provide information required to mount the local folder” and select your shared Windows folder and the Linux mount point.
This will provide enough information for VisualGDB to know which directories are part of the shared folder and which are not and thus need to be downloaded.E.g. if you mapped e:projects to /mnt/projects, VisualGDB will open files in /mnt/projects/my_project as well as in /mnt/projects/some_other_project directly, as it will know that all files under /mnt/projects are a part of the Windows share.
-
AuthorPosts