Seidleroni

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • Seidleroni
    Participant

    That fixed it, thank you!

    Seidleroni
    Participant

    I was clicking around and got Clang Intellisense to crash. The minidump is attached.

    • This reply was modified 9 months, 2 weeks ago by Seidleroni.
    Attachments:
    You must be logged in to view attached files.
    Seidleroni
    Participant

    Thanks for the tip, following the instructions for Resetting Cache did the trick.

    in reply to: Rename/Relocate "Device-specific files" filter? #29154
    Seidleroni
    Participant

    What are the pro/cons of using Advanced CMake rather than MSBuild? I thought VisualGDB prefers people to use MSBuild for embedded applications, is that no longer the case?

    • This reply was modified 3 years, 6 months ago by Seidleroni.
    in reply to: Pre-Build Step Use MSBuild Property? #29100
    Seidleroni
    Participant

    Fair point. For someone (or me!) who is looking at this in the future, TeamCity sets a bunch of environment variables by itself, so the pre-build step can inspect to see if the environment variable exists or not, and use that. TeamCity sets BUILD_NUMBER to the build number as well as other variables that may be useful such as the commit hash, project name, etc. To see what is available, have the build server send “set” so the log will contain all the environment variables.

    in reply to: Pre-Build Step Use MSBuild Property? #29095
    Seidleroni
    Participant

    How would this be done, then? I have my Build Server pre-build step that executes a command line to say “set BUILDVER=5”, but when it calls msbuild, wouldn’t that environment variable no longer be active since its in a separate command line window because it is a separate build step?

    • This reply was modified 3 years, 7 months ago by Seidleroni.
    in reply to: "Before Building" custom step – "PATH" missing? #26137
    Seidleroni
    Participant

    After spending an inordinate amount of time on this, I fixed the issue by deleting my PreBuild action and then recreating it. Attached is an image comparing the vgdbsettings file change that made it happen. What could cause this? Is this just a stupid error on my part?

    Attachments:
    You must be logged in to view attached files.
    in reply to: "Before Building" custom step – "PATH" missing? #26132
    Seidleroni
    Participant

    So by doing this, here is the hierarchy and breakdown:

    • devenv.exe (Path is present)
      • MSBuild.exe (Path is *not present*)
        • vgagent.exe (Path is *not present*)
          • cmd.exe (Path is *not present*)
            • notepad.exe (Path is *not present*)

    What are the next steps to work around this?

    in reply to: "Before Building" custom step – "PATH" missing? #26110
    Seidleroni
    Participant

    None of the other variables get overridden, just ‘path’ which is now empty. I noticed that if I open the project via Visual Studio (Start–>Visual Studio 2017, and then doing File->Open->Solution), I now have access to ‘path’. If I have *never* opened it that way, but only just opened it by double-clicking the solution, then the path is missing.

    Way to reproduce (for me):

    1. Take a working project
    2. Copy and paste the project (so it creates a new folder. can be in the same directory.)
    3. Double-click the solution
    4. Create a pre-build batch file that just has “set” or “python -h” in it.
    5. Build the project
    6. The project will not show path as a system env variable. It will also complain about not being able to find python (due to missing path).
    7. Open Visual Studio Start->Visual Studio 2017
    8. Open solution
    9. Build project again. Now you will see that it does have the path variable and “python -h” shows the appropriate python help info.

    Can you reproduce it with this? You can try one of your own projects, but be sure to do a copy/paste.

     

    • This reply was modified 4 years, 6 months ago by Seidleroni.
    in reply to: problem importing CubeMX FreeRTOS project #25236
    Seidleroni
    Participant

    In case someone comes across this in the future like I did, here is what you need to do:

    -Include the cmsis_os.c/.h files from “\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS”

    -Add the port.c and portmacro.h files from “\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM7\r0p1”

     

    Seidleroni
    Participant

    I understand, but I hope you do add it in the future as it would be very very useful.

    in reply to: Rename Preview Should Go To Line #23875
    Seidleroni
    Participant

    Awesome, new build works great. The syntax highlighting as part of variable renaming preview is not that big of a deal.

    in reply to: Fast Semihosting Freezing on One Machine #22717
    Seidleroni
    Participant

    I just submitted the PO so it should be renewed today or tomorrow. I fixed the issue by uninstalling/reinstalling visual studio and then VisualGDB. Just reinstalling VS didn’t fix it for some reason. I also deleted and reinstalled all the VGDB packages as well. Now it is all set.

    in reply to: Fast Semihosting Freezing on One Machine #22712
    Seidleroni
    Participant

    I tried using a Nucleo board with the onboard ST Link and I am having the same problem (working on desktop, not on laptop). Is there anything that is PC specific that could allow programming to work but not Fast Semihosting? I didn’t mention it before, but I am able to run the project without a problem if I comment out my printf statements.

    in reply to: Clang IntelliSense with Visual Assist? #22165
    Seidleroni
    Participant

    Here is a fairly comprehensive list of what I use in Visual Assist on a daily basis and would love to have as part of Clang IntelliSense:

    1. Syntax Highlighting (colors listed are those spec’ed by Visual Assist, but presumably should be configurable):
      1. Gold for <span style=”text-decoration: underline;”>classes</span>, <span style=”text-decoration: underline;”>structs</span>, <span style=”text-decoration: underline;”>interfaces</span>, <span style=”text-decoration: underline;”>namespaces</span>, <span style=”text-decoration: underline;”>typedefs</span>
      2. DarkKhaki for <span style=”text-decoration: underline;”>variables</span>
      3. BD63C5 for <span style=”text-decoration: underline;”>Enums</span>, <span style=”text-decoration: underline;”>preprocessor macros</span>
      4. FF8000 for <span style=”text-decoration: underline;”>functions</span> and <span style=”text-decoration: underline;”>methods</span>
    2. Quick Search global symbol cache “Find Symbol” (Alt+Shift+S in VA)
    3. Open File in Solution (Alt+Shift+O)
    4. Toggle between source + header (Alt+O)
    5. Go to implementation (Alt+G)
    6. List Methods in File (Alt+M)
    7. Find References (Alt+Shift+F). Finds all references for that symbol, even when it is used in an inherited class.

    I’ve resorted to using VisualGDB without Clang IntelliSense, and with Visual Assist enabled for navigation, plus Resharper for their amazing Static Analysis. I don’t mind the expense of having these three components, but the lack of interoperability with each other and Clang IntelliSense is a bit of a bother. Basically I had to disable Clang IntelliSense, and disable Resharper for live Code Analysis. I just use Resharper for Code Inspection which finds more than your Static Analysis, but that could likely be how it is configured through the GUI. Happy to discuss further.

    • This reply was modified 5 years, 6 months ago by Seidleroni.
Viewing 15 posts - 1 through 15 (of 33 total)