Forum Replies Created
-
AuthorPosts
-
kurtParticipant
Just realized that my team license’s support expired on 2018. Let me get management to renew the licenses first, and I’ll come back here again.
January 13, 2019 at 05:07 in reply to: Advanced CMake: Adding remote directories for IntelliSense #23397kurtParticipantThanks for the tip!
January 12, 2019 at 08:38 in reply to: Advanced CMake: Adding remote directories for IntelliSense #23375kurtParticipantThanks for the info on where IntelliSense looks at — it helps to know where to tweak things in the future. I am able to make it work now (both C++ and BSP headers are automatically detected).
Another follow-up question:
Is there a way to “trick” IntelliSense to sync/download the source (not just headers) for the BSP files?
For example, the following header is currently being sync’d automatically:
C:\Users\kurt\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.83\0006\include\bsp\hal\led.h
This header is remotely located in
/opt/blah/sysroots/armv5e-linux-gnueabi/usr/include/bsp/hal/
.The corresponding source file is remotely located in
/opt/blah/sysroots/armv5e-linux-gnueabi/usr/<strong>src</strong>/bsp/hal/
and I would like to sync these files, and F12 into the definition.
In the “IntelliSense Settings” tab, I see that there is a “List of additional source files”. Unfortunately, that’s only referencing local files and not remote files, plus it’s a per-file selection rather than a directory selection (i.e. grab all).
I can edit the yocto/toolchain file if needed.
- This reply was modified 5 years, 11 months ago by kurt.
January 11, 2019 at 08:31 in reply to: Advanced CMake: Adding remote directories for IntelliSense #23344kurtParticipantCorrection to description above:
- Specify a Yocto environment file:
I provided an empty file, ignoring toolchain errors.Use Yocto-generated environment file.
March 22, 2018 at 05:15 in reply to: "Value cannot be null" error when create new Advanced CMake Project #20504kurtParticipantOk, it seems like a toolchain file problem. As a workaround, I just choose “Default GCC ..” to get past the wizard, then change the toolchain file after the project has been created.
March 6, 2018 at 12:57 in reply to: 5.4.1.2075: Unable to create SSH connection without password #20327kurtParticipantI forgot to reply earlier … that new build works! Thanks for the fast response!
kurtParticipantQuick update:
- New version didn’t help (but I just installed and ran … I didn’t re-create the project. I’m not sure if I’m previous hack to add “Ninja” in the XML messes up anything).
- Manual call to ninja via SSH works fine, no stalling.
It actually works fine outside of Advanced CMake.
Anyway, I’ll gather the detailed log. Be right back …
kurtParticipantYeah, I did point it to the gdb executable that I use for regular debugging.
Perhaps I still need to adjust the path to the libraries? I think during regular debugging, it is using the .so files that reside in the target.
kurtParticipantThanks for the quick response, as always. It works great!
kurtParticipantIn the dialog shown in the attachment, is it possible to pass
-G "Ninja"
as the argument? I have tried it and it doesn’t work, but perhaps it is supported, just that I am doing things incorrectly?Attachments:
You must be logged in to view attached files.kurtParticipantThanks for the feedback.
I did try to close all the windows (leaving only the source code), but it is still happening. That flurry of “breakpoint-modified” seems to typically appear on stepping through the first command after the breakpoint hits. The wait for stepping-through to complete for hours is just too long.
I have also tried the log, but it didn’t give any other information besides the timestamps.
Unfortunately, I’m not familiar enough with gdb to spot what is wrong, and rely entirely on VisualGDB for my transition to Linux.
Occasionally, I will get this:
../../../gdb-7.12.1/gdb/gdbserver/linux-low.c:2627: A problem internal to GDBserver has been detected. int maybe_hw_step(thread_info*): Assertion `has_reinsert_breakpoints (thread)' failed.
Does that provide any helpful hints?
kurtParticipantHi,
My multi-threaded program is facing a similar issue too. The problem that I have is with stepping over after a breakpoint hits. I will get an endless amount of
"=breakpoint-modified"
(sometimes, for hours) before it goes to the next statement.Any pointers on where I should look to provide more info? A simple hello-world program doesn’t produce the problem.
I am using VS 2017 with VGDB 5.3 R8
-break-after 2 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 1 -stack-list-arguments --thread 1 0 -stack-list-frames --thread 1 -stack-list-arguments --thread 1 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 3 -stack-list-arguments --thread 3 0 -stack-list-frames --thread 3 -stack-list-arguments --thread 3 0 -stack-list-frames --thread 4 -stack-list-arguments --thread 4 0 -stack-list-frames --thread 4 -stack-list-arguments --thread 4 0 -stack-list-frames --thread 5 -stack-list-arguments --thread 5 0 -stack-list-frames --thread 5 -stack-list-arguments --thread 5 0 -stack-list-frames --thread 6 -stack-list-arguments --thread 6 0 -stack-list-frames --thread 6 -stack-list-arguments --thread 6 0 -stack-list-frames --thread 7 -stack-list-arguments --thread 7 0 -stack-list-frames --thread 7 -stack-list-arguments --thread 7 0 -stack-list-frames --thread 8 -stack-list-arguments --thread 8 0 -stack-list-frames --thread 8 -stack-list-arguments --thread 8 0 -stack-list-frames --thread 9 -stack-list-arguments --thread 9 0 -stack-list-frames --thread 9 -stack-list-arguments --thread 9 0 -stack-list-frames --thread 10 -stack-list-arguments --thread 10 0 -stack-list-frames --thread 10 -stack-list-arguments --thread 10 0 -stack-list-frames --thread 11 -stack-list-arguments --thread 11 0 -stack-list-frames --thread 11 -stack-list-arguments --thread 11 0 -stack-list-frames --thread 12 -stack-list-arguments --thread 12 0 -stack-list-frames --thread 12 -stack-list-arguments --thread 12 0 -stack-list-frames --thread 13 -stack-list-arguments --thread 13 0 -stack-list-frames --thread 13 -stack-list-arguments --thread 13 0 -stack-select-frame 0 -thread-select 2 -exec-next ^running *running,thread-id="all" =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="2",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="3",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="4",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="5",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="6",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="7",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="8",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="9",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="10",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="11",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="12",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="13",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="14",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="15",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="16",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="17",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="18",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="19",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="20",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="21",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="22",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="23",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="24",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="25",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="26",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="27",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="28",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="29",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="30",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="31",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="32",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="33",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="34",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="35",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="36",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="37",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="38",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="39",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="40",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="41",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="42",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="43",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="44",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="45",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="46",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="47",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="48",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="49",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="50",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="51",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="52",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="53",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="54",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="55",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="56",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="57",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="58",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="59",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="60",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="61",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="62",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="63",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="64",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="65",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="66",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="67",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="68",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="69",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="70",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="71",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="72",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="73",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="74",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="75",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="76",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="77",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="78",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="79",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="80",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="81",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="82",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="83",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="84",original-location="/build/linux/myFile.cpp:5880"} =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x001e7360",func="myfunction(unsigned char, int, char const*)",file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5880",thread-groups=["i1"],times="85",original-location="/build/linux/myFile.cpp:5880"} *stopped,reason="end-stepping-range",frame={addr="0x001e736c",func="myfunction",args=[{name="updateSaveViews",value="1 '\\001'"},{name="menuVal",value="10"},{name="inFullFileName",value="0x0"}],file="/build/linux/myFile.cpp",fullname="/build/linux/myFile.cpp",line="5881"},thread-id="2",stopped-threads="all",core="0" -break-after 2 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 1 -stack-list-arguments --thread 1 0 -stack-list-frames --thread 1 -stack-list-arguments --thread 1 0 -stack-list-frames --thread 2 -stack-list-arguments --thread 2 0 -stack-list-frames --thread 3 -stack-list-arguments --thread 3 0 -stack-list-frames --thread 3 -stack-list-arguments --thread 3 0 -stack-list-frames --thread 4 -stack-list-arguments --thread 4 0 -stack-list-frames --thread 4 -stack-list-arguments --thread 4 0 -stack-list-frames --thread 5 -stack-list-arguments --thread 5 0 -stack-list-frames --thread 5 -stack-list-arguments --thread 5 0 -stack-list-frames --thread 6 -stack-list-arguments --thread 6 0 -stack-list-frames --thread 6 -stack-list-arguments --thread 6 0 -stack-list-frames --thread 7 -stack-list-arguments --thread 7 0 -stack-list-frames --thread 7 -stack-list-arguments --thread 7 0 -stack-list-frames --thread 8 -stack-list-arguments --thread 8 0 -stack-list-frames --thread 8 -stack-list-arguments --thread 8 0 -stack-list-frames --thread 9 -stack-list-arguments --thread 9 0 -stack-list-frames --thread 9 -stack-list-arguments --thread 9 0 -stack-list-frames --thread 10 -stack-list-arguments --thread 10 0 -stack-list-frames --thread 10 -stack-list-arguments --thread 10 0 -stack-list-frames --thread 11 -stack-list-arguments --thread 11 0 -stack-list-frames --thread 11 -stack-list-arguments --thread 11 0 -stack-list-frames --thread 12 -stack-list-arguments --thread 12 0 -stack-list-frames --thread 12 -stack-list-arguments --thread 12 0 -stack-list-frames --thread 13 -stack-list-arguments --thread 13 0 -stack-list-frames --thread 13 -stack-list-arguments --thread 13 0
kurtParticipantIs there an option to select “Include all directories”, but then add an “Except for these folders” exclusion option?
My scenario is similar to the OP’s, where I want to include everything except for “.git” and one other personal folder. The exclude list is a minority, so it is a hassle to check every folder using “Included selected directories only”, especially when the project is very big.
January 15, 2018 at 08:17 in reply to: Clang-IntelliSense bug on "static const initialization"? #13446kurtParticipantI am using a CMake project, with
CXXFLAGS = -std=c++11
In one of my header files, there was a legacy code the removed
const
:#ifdef unix #define const #endif
I then added this to test:
const int i = 0; printf("%d\n", ++i);
The compilation on the VM flagged the error, so clearly
unix
is not defined. I wondering who definedunix
for me. After some searching, it actually came from thegcc_Debug.h
file. This file says it is generated “based on my GCC”.Question 1: If it compilation didn’t use the flag, why did the IntelliSense file added that flag?
If I removed the
-std=c++11
, the compilation did not flag the error (interesting…). So maybe my GCC configuration did haveunix
, but thec++11
flag removed it, but the visualgdb IntelliSense file didn’t capture this? (I’m new to Linux).Question 2: If it’s my configuration problem, anything I can do to remedy this? It seems like I am not supposed to edit the IntelliSense file.
kurtParticipant<span style=”text-decoration: underline;”>Problem with remote caching:</span> My toolchain folder paths are long. VGDB’s default RemoteSourceCache path is long too given it’s stored in AppData. Some of the files couldn’t be copied, so that explains why Clang couldn’t find certain symbols.
Cannot create C:\Users\kurt\AppData\Local\VisualGDB\RemoteSourceCache\192.168.1.82\0000\usr\src\debug\gcc-runtime\6.3.0-r0\gcc-6.3.0\build.arm-company-linux-gnueabi.arm-company-linux-gnueabi\arm-company-linux-gnueabi\libstdc++-v3\include\bits\stl_iterator_base_types.h: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Q: Is there a way to define where the remote cache is located?
I’m gonna try an alternative of copying the entire toolchain folder to Windows in a shorted path, and see if Clang can find it.
-
AuthorPosts