toggle header/source?

Sysprogs forums Forums VisualGDB toggle header/source?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10944
    thedixon
    Participant

    Is toggle header/source file processed by VisualGDB or is it VS?

    We have multiple files with the same name in various subdirectories of the same project, and it looks like when you go from header to source, it pulls out the first source file listed in the project, instead of a correct one.

    e.g.

    dir1 ->file.h,file.cpp(which has #include “dir1/file.h”)

    dir2-> file.h,file.cpp (which has #include “dir2/file.h”)

    if you’d go from file.h in the dir2, file.cpp from dir1 would be shown.

    Not sure if it’s your bug or a native one though.

     

    #10946
    support
    Keymaster

    Hi,

    Thanks, actually looks like our bug. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.16.1464.msi

    #10951
    thedixon
    Participant

    Didn’t help. Still opens wrong file.

    #10955
    support
    Keymaster

    This could happen if the other file is not a part of the project. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.16.1466.msi

    It should print the lookup progress to the window available via View->Clang IntelliSense Diagnostics Console.

    #10958
    thedixon
    Participant

     

    (edited – was going to say yes, different project, but then looked closer – no, all files are in the same one).

    Will try tomorrow and report

    • This reply was modified 7 years, 8 months ago by thedixon.
    #10967
    thedixon
    Participant

    [+0:02:59.812] Searching for a source/header file matching c:\Users\user\dir9\a.h…
    [+0:02:59.815] Found a partial match: C:\Users\user\dir2\a.cpp.
    [+0:02:59.815] Found a partial match: C:\Users\user\dir3\a.cpp.
    [+0:02:59.815] Found a partial match: C:\Users\user\dir4\a.cpp.
    [+0:02:59.815] Found a partial match: C:\Users\user\dir5\a.cpp.
    [+0:02:59.815] Found a partial match: C:\Users\user\dir6\a.cpp.
    [+0:02:59.815] Found a partial match: C:\Users\user\dir7\a.cpp.
    [+0:02:59.815] Found full match: C:\Users\user\dir9\a.cpp.
    [+0:02:59.857] C:\Users\user\dir2\a.cpp belongs to a compatible project and will be handled by our engine

    so it found the correct match, but still opened the first file in a search list.

    • This reply was modified 7 years, 8 months ago by thedixon.
    #10972
    support
    Keymaster

    Hi,

    Oops. Sorry about that. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.16.1467.msi

    #10979
    thedixon
    Participant

    Confirmed fixed, thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.