Forum Replies Created
-
AuthorPosts
-
borbmizzetParticipant
I meant a sort of the autocomplete suggestions in order of scope relative to the current text being typed in the scope hierarchy, from localest level to globalest level. Like, if you’re coding a member function for a class, put matching member variables, enums, functions and structs local to the same class higher on the autocomplete list than global ones.
borbmizzetParticipantSee this thread:
https://youtrack.jetbrains.com/issue/RSCPP-18095You need to manually include the folders for the standard library, because R# doesn’t realize you’re using gcc.
Clang is still your best intelligent choice, as the above said, but that will let R# at least see your STL libraries if you want to use the other features of R#.- This reply was modified 7 years, 5 months ago by borbmizzet.
- This reply was modified 7 years, 5 months ago by borbmizzet.
May 3, 2017 at 20:01 in reply to: printf crashes after reset when built/flashed with fast semihosting enabled #11130borbmizzetParticipantI just switched the semihosting settings to discard further data when the buffer is full. So that probably fixed it. Still something to think about though.
borbmizzetParticipantI think _M_storage is an array containing the address of the data in a 4-byte (32-bit) array.
ex above: 0xd0005aa0 (_M_storage[3] _M_storage[2] _M_storage[1] _M_storage[0)]borbmizzetParticipantMy STL comes straight from the default SysProgs arm-none-eabi toolchain.
- *((std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber*>, std::allocator<gsl::not_null<APP::MainloopSubscriber*> > >::_Node *)0xd0008018)) {std::__detail::_List_node_base = {...}, ...} std::_List_node<gsl::not_null<APP::MainloopSubscriber*> > - std::__detail::_List_node_base {_M_next = 0xd0007f50 <FixedSizeHeap+32592>, ...} std::__detail::_List_node_base + _M_next 0xd0007f50 <FixedSizeHeap+32592> {0xd0005bc4 <FixedSizeHeap+23492>} std::__detail::_List_node_base * + _M_prev 0xd0005bc4 <FixedSizeHeap+23492> {0xd0008018 <FixedSizeHeap+32792>} std::__detail::_List_node_base * - _M_storage {_M_storage = [4]} __gnu_cxx::__aligned_membuf<gsl::not_null<APP::MainloopSubscriber*> > - _M_storage {0xa0 ' ', 0x5a 'Z', 0x00 '\x00', 0xd0 'Ð'} unsigned char [4] [0] 0xa0 ' ' unsigned char [1] 0x5a 'Z' unsigned char [2] 0x00 '\x00' unsigned char [3] 0xd0 'Ð' unsigned char
-var-create --frame 3 --thread 1 - * "*((std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber*>, std::allocator<gsl::not_null<APP::MainloopSubscriber*> > >::_Node *)0xd0008018))" ^done,name="var74",numchild="2",value="{...}",type="std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber*>, std::allocator<gsl::not_null<APP::MainloopSubscriber*> > >::_Node",has_more="0" ptype/mt std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber*>, std::allocator<gsl::not_null<APP::MainloopSubscriber*> > >::_Node &"ptype/mt std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber*>, std::allocator<gsl::not_null<APP::MainloopSubscriber*> > >::_Node\n" ~"type = struct std::_List_node<gsl::not_null<APP::MainloopSubscriber*> > [with _Tp = gsl::not_null<APP::MainloopSubscriber*>] : public std::__detail::_List_node_base {\n" ~" __gnu_cxx::__aligned_membuf<_Tp> _M_storage;\n" ~"}\n" ^done -var-list-children --simple-values "var74" 0 2 ^done,numchild="2",children=[child={name="var74.std::__detail::_List_node_base",exp="std::__detail::_List_node_base",numchild="1",type="std::__detail::_List_node_base"},child={name="var74.public",exp="public",numchild="1",value=""}],has_more="0" -var-evaluate-expression "var74\.std::__detail::_List_node_base" ^done,value="{...}" -var-list-children --simple-values "var74\.public" 0 1 ^done,numchild="1",children=[child={name="var74.public._M_storage",exp="_M_storage",numchild="1",type="__gnu_cxx::__aligned_membuf<gsl::not_null<APP::MainloopSubscriber*> >"}],has_more="0" -var-evaluate-expression "var74\.public\._M_storage" ^done,value="{...}" -stack-list-frames --thread 1 ^done,stack=<<REDACTED>> -stack-list-arguments --thread 1 0 ^done,stack-args=[frame={level="0",args=[name="this"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this"]},frame={level="3",args=[name="this"]},frame={level="4",args=[]}] -var-list-children --simple-values "var74\.std::__detail::_List_node_base" 0 1 ^done,numchild="1",children=[child={name="var74.std::__detail::_List_node_base.public",exp="public",numchild="2",value=""}],has_more="0" -var-list-children --simple-values "var74\.std::__detail::_List_node_base\.public" 0 2 ^done,numchild="2",children=[child={name="var74.std::__detail::_List_node_base.public._M_next",exp="_M_next",numchild="1",value="0xd0007f50 <FixedSizeHeap+32592>",type="std::__detail::_List_node_base *"},child={name="var74.std::__detail::_List_node_base.public._M_prev",exp="_M_prev",numchild="1",value="0xd0005bc4 <FixedSizeHeap+23492>",type="std::__detail::_List_node_base *"}],has_more="0" ptype/mt __gnu_cxx::__aligned_membuf<gsl::not_null<APP::MainloopSubscriber*> > &"ptype/mt __gnu_cxx::__aligned_membuf<gsl::not_null<APP::MainloopSubscriber*> >\n" ~"type = struct __gnu_cxx::__aligned_membuf<gsl::not_null<APP::MainloopSubscriber*> > [with _Tp = gsl::not_null<APP::MainloopSubscriber*>] {\n" ~" unsigned char _M_storage[4];\n" ~"}\n" ^done -var-list-children --simple-values "var74\.public\._M_storage" 0 1 ^done,numchild="1",children=[child={name="var74.public._M_storage.public",exp="public",numchild="1",value=""}],has_more="0" -var-list-children --simple-values "var74\.public\._M_storage\.public" 0 1 ^done,numchild="1",children=[child={name="var74.public._M_storage.public._M_storage",exp="_M_storage",numchild="4",type="unsigned char [4]"}],has_more="0" -var-evaluate-expression "var74\.public\._M_storage\.public\._M_storage" ^done,value="[4]" ptype/mt unsigned char [4] &"ptype/mt unsigned char [4]\n" ~"type = unsigned char [4]\n" ^done -data-evaluate-expression --frame 3 --thread 1 "&\(\(\(\(\*\(\(std::__cxx11::list<gsl::not_null<APP::MainloopSubscriber\*>,\ std::allocator<gsl::not_null<APP::MainloopSubscriber\*>\ >\ >::_Node\ \*\)0xd0008018\)\)\)\._M_storage\)\._M_storage\)\[0]\)" ^error,msg="Junk after end of expression." -var-list-children --simple-values "var74\.public\._M_storage\.public\._M_storage" 0 4 ^done,numchild="4",children=[child={name="var74.public._M_storage.public._M_storage.0",exp="0",numchild="0",value="160 '\240'",type="unsigned char"},child={name="var74.public._M_storage.public._M_storage.1",exp="1",numchild="0",value="90 'Z'",type="unsigned char"},child={name="var74.public._M_storage.public._M_storage.2",exp="2",numchild="0",value="0 '\\000'",type="unsigned char"},child={name="var74.public._M_storage.public._M_storage.3",exp="3",numchild="0",value="208 '\320'",type="unsigned char"}],has_more="0" ptype/mt std::__detail::_List_node_base * &"ptype/mt std::__detail::_List_node_base *\n" ~"type = struct std::__detail::_List_node_base {\n" ~" std::__detail::_List_node_base *_M_next;\n" ~" std::__detail::_List_node_base *_M_prev;\n" ~"} *\n" ^done -var-list-children --simple-values "var74\.std::__detail::_List_node_base\.public\._M_next" 0 1 ^done,numchild="1",children=[child={name="var74.std::__detail::_List_node_base.public._M_next.public",exp="public",numchild="2",value=""}],has_more="0" -var-list-children --simple-values "var74\.std::__detail::_List_node_base\.public\._M_next\.public" 0 2 ^done,numchild="2",children=[child={name="var74.std::__detail::_List_node_base.public._M_next.public._M_next",exp="_M_next",numchild="1",value="0xd0005bc4 <FixedSizeHeap+23492>",type="std::__detail::_List_node_base *"},child={name="var74.std::__detail::_List_node_base.public._M_next.public._M_prev",exp="_M_prev",numchild="1",value="0xd0008018 <FixedSizeHeap+32792>",type="std::__detail::_List_node_base *"}],has_more="0" -var-list-children --simple-values "var74\.std::__detail::_List_node_base\.public\._M_prev" 0 1 ^done,numchild="1",children=[child={name="var74.std::__detail::_List_node_base.public._M_prev.public",exp="public",numchild="2",value=""}],has_more="0" -var-list-children --simple-values "var74\.std::__detail::_List_node_base\.public\._M_prev\.public" 0 2 ^done,numchild="2",children=[child={name="var74.std::__detail::_List_node_base.public._M_prev.public._M_next",exp="_M_next",numchild="1",value="0xd0008018 <FixedSizeHeap+32792>",type="std::__detail::_List_node_base *"},child={name="var74.std::__detail::_List_node_base.public._M_prev.public._M_prev",exp="_M_prev",numchild="1",value="0xd0007f50 <FixedSizeHeap+32592>",type="std::__detail::_List_node_base *"}],has_more="0"
- This reply was modified 7 years, 7 months ago by borbmizzet.
borbmizzetParticipant2 more errors I found in the gdb session (after the one listed above):
-data-evaluate-expression --frame 0 --thread 1 "&\(\(\(\(\(\(\(\(\(this\)->m_unidentifiedPods\)\.\[actual\ members]\)\.std::__cxx11::_List_base<UnidentifiedPod,\ std::allocator<UnidentifiedPod>\ >\)\._M_impl\)\._M_node\)\._M_storage\)\._M_storage\)\[0]\)" A syntax error in expression, near '[actual members]).std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >)._M_impl)._M_node)._M_storage)._M_storage)[0])'. -var-list-children --simple-values "var21\.private\.m_unidentifiedPods\.std::__cxx11::_List_base<UnidentifiedPod,\ std::allocator<UnidentifiedPod>\ >\.protected\._M_impl\.public\._M_node\.public\._M_storage\.public\._M_storage" 0 4 ^done,numchild="4",children=[child={name="var21.private.m_unidentifiedPods.std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >.protected._M_impl.public._M_node.public._M_storage.public._M_storage.0",exp="0",numchild="0",value="1 '\\001'",type="unsigned char",thread-id="1"},child={name="var21.private.m_unidentifiedPods.std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >.protected._M_impl.public._M_node.public._M_storage.public._M_storage.1",exp="1",numchild="0",value="0 '\\000'",type="unsigned char",thread-id="1"},child={name="var21.private.m_unidentifiedPods.std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >.protected._M_impl.public._M_node.public._M_storage.public._M_storage.2",exp="2",numchild="0",value="0 '\\000'",type="unsigned char",thread-id="1"},child={name="var21.private.m_unidentifiedPods.std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >.protected._M_impl.public._M_node.public._M_storage.public._M_storage.3",exp="3",numchild="0",value="0 '\\000'",type="unsigned char",thread-id="1"}],has_more="0" -var-create --frame 0 --thread 1 - * "m_unidentifiedPods.insert(m_unidentifiedPods.end(), UnidentifiedPod());" -var-create: unable to create variable object
- This reply was modified 7 years, 8 months ago by borbmizzet.
- This reply was modified 7 years, 8 months ago by borbmizzet.
- This reply was modified 7 years, 8 months ago by borbmizzet.
borbmizzetParticipantBeen absent from this thread for a while, but its still not showing me the objects in my std::list<>’s correctly. I’m using the most recent sysprogs build of the arm-none-eabi toolchain.
after line:
m_unidentifiedPods.insert(m_unidentifiedPods.end(), UnidentifiedPod());
I try to view members of
m_unidentifiedPods
and get the following gdb output:-var-create --frame 0 --thread 1 - * "((std::__cxx11::list<UnidentifiedPod, std::allocator<UnidentifiedPod> >::_Node *)0xd00129d0)->_M_data" There is no member or method named _M_data.
and the following watch output:
- m_unidentifiedPods [expand to populate std::list] std::__cxx11::list<UnidentifiedPod, std::allocator<UnidentifiedPod> > - [actual members] {...} - std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> > {_M_impl = {...}} std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> > - _M_impl {...} std::__cxx11::_List_base<UnidentifiedPod, std::allocator<UnidentifiedPod> >::_List_impl - std::allocator<std::_List_node<UnidentifiedPod> > {...} std::allocator<std::_List_node<UnidentifiedPod> > __gnu_cxx::new_allocator<std::_List_node<UnidentifiedPod> > {} __gnu_cxx::new_allocator<std::_List_node<UnidentifiedPod> > - _M_node {std::__detail::_List_node_base = {...}, ...} std::_List_node<unsigned int> - std::__detail::_List_node_base {_M_next = 0xd00129d0 <FixedSizeHeap+76240>, ...} std::__detail::_List_node_base + _M_next 0xd00129d0 <FixedSizeHeap+76240> {0xd000b6f0 <FixedSizeHeap+46832>} std::__detail::_List_node_base * + _M_prev 0xd00129d0 <FixedSizeHeap+76240> {0xd000b6f0 <FixedSizeHeap+46832>} std::__detail::_List_node_base * - _M_storage {_M_storage = [4]} __gnu_cxx::__aligned_membuf<unsigned int> - _M_storage {1 '\001', 0 '\000', 0 '\000', 0 '\000'} unsigned char [4] [0] 1 '\001' unsigned char [1] 0 '\000' unsigned char [2] 0 '\000' unsigned char [3] 0 '\000' unsigned char
- This reply was modified 7 years, 8 months ago by borbmizzet.
borbmizzetParticipantCheck this post for how to fix your problem while keeping Resharper++ enabled.
borbmizzetParticipantCan you make an option for visualgdb to [check if a rebuild is needed and run the rebuild if needed] as a background process every so often? I have been modifying a lot of headers used by a lot of other headers (whoever built my company’s internal library clearly did not set encapsulation as a priority), and it gets really annoying to have to wait 15-20 seconds every time I want to view the call or use tree.
borbmizzetParticipantI’m now running build 1374 (which I assume is a later build than 1366), and a similar problem is occurring with std::string turning into std::string_literals.
Edit: once I re-enabled typedefs in the intellisense popup, the problem was fixed. Still a bit annoying that it happens with typedefs disabled. I feel like it should realize that what I typed in was valid despite my intellisense settings and not tried to correct it.
- This reply was modified 7 years, 9 months ago by borbmizzet.
borbmizzetParticipantWhat does your timeframe look like for the next major release, if you don’t mind me asking? The Sysprogs blog has been rather quiet of late.
- This reply was modified 7 years, 9 months ago by borbmizzet.
borbmizzetParticipantThe Error List seems to only work for the current file even when it should be showing solution-wide errors, and it re-indexes every time I use try to view the Use Tree, Call Hierarchy, Go To Definition, or Find All References. Peek Definition just plain doesn’t work. I’m using VS 2015 Community with VisualGDB 5.2(build 1357)
borbmizzetParticipantborbmizzetParticipant-var-delete "var3" ^done,ndeleted="11" -var-delete "var4" ^done,ndeleted="5" -var-delete "var5" ^done,ndeleted="1" -var-delete "var6" ^done,ndeleted="1" -var-delete "var7" ^done,ndeleted="1" -var-delete "var12" ^done,ndeleted="1" -stack-list-variables --frame 0 --thread 1 0 ^done,variables=[{name="testList"},{name="testptr"},{name="testptrlist"},{name="lSelfTestStatus"}] -var-create --frame 0 --thread 1 - * "testList" ^done,name="var13",numchild="1",value="{...}",type="std::__cxx11::list<unsigned char, std::allocator<unsigned char> >",thread-id="1",has_more="0" -var-create --frame 0 --thread 1 - * "testptr" ^done,name="var14",numchild="1",value="{...}",type="std::shared_ptr<unsigned char>",thread-id="1",has_more="0" -var-create --frame 0 --thread 1 - * "testptrlist" ^done,name="var15",numchild="1",value="{...}",type="std::__cxx11::list<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",thread-id="1",has_more="0" -var-create --frame 0 --thread 1 - * "lSelfTestStatus" ^done,name="var16",numchild="0",value="STATUS_OK",type="ReturnStatus",thread-id="1",has_more="0" -var-info-path-expression "var13" ^done,path_expr="testList" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)&\(\(testList\)\._M_impl\._M_node\)" ^done,value="0x2002ffd8" -var-info-path-expression "var15" ^done,path_expr="testptrlist" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)&\(\(testptrlist\)\._M_impl\._M_node\)" ^done,value="0x2002ffc4" -var-list-children --simple-values "var14" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",exp="std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",numchild="1",type="std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",thread-id="1"}],has_more="0" -var-list-children --simple-values "var14" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",exp="std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",numchild="1",type="std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>",thread-id="1"}],has_more="0" -var-evaluate-expression "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>" ^done,value="{...}" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)\(\(std::__cxx11::list<unsigned\ char,\ std::allocator<unsigned\ char>\ >::_Node\ \*\)0x2002ffd8\)->_M_next" ^done,value="0xd0000238 <FixedSizeHeap+568>" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)\(\(std::__cxx11::list<unsigned\ char,\ std::allocator<unsigned\ char>\ >::_Node\ \*\)0xd0000238\)->_M_next" ^done,value="0xd0000250 <FixedSizeHeap+592>" -var-create --frame 0 --thread 1 - * "((std::__cxx11::list<unsigned char, std::allocator<unsigned char> >::_Node *)0xd0000238)->_M_data" There is no member or method named _M_data. -var-list-children --simple-values "var13" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",exp="std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",numchild="1",type="std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",exp="std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",numchild="1",type="std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >" ^done,value="{...}" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected",exp="protected",numchild="1",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl",exp="_M_impl",numchild="2",type="std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >::_List_impl",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl" ^done,value="{...}" &"Quit (expect signal SIGINT when the program is resumed)\n" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl" 0 2 ^done,numchild="2",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.std::allocator<std::_List_node<unsigned char> >",exp="std::allocator<std::_List_node<unsigned char> >",numchild="1",type="std::allocator<std::_List_node<unsigned char> >",thread-id="1"},child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public",exp="public",numchild="1",value="",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.std::allocator<std::_List_node<unsigned\ char>\ >" ^done,value="{...}" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node",exp="_M_node",numchild="2",type="std::_List_node<unsigned int>",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.std::allocator<std::_List_node<unsigned\ char>\ >" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.std::allocator<std::_List_node<unsigned char> >.__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",exp="__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",numchild="0",type="__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.std::allocator<std::_List_node<unsigned\ char>\ >" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.std::allocator<std::_List_node<unsigned char> >.__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",exp="__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",numchild="0",type="__gnu_cxx::new_allocator<std::_List_node<unsigned char> >",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.std::allocator<std::_List_node<unsigned\ char>\ >\.__gnu_cxx::new_allocator<std::_List_node<unsigned\ char>\ >" ^done,value="{...}" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node" ^done,value="{...}" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node" 0 2 ^done,numchild="2",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.std::__detail::_List_node_base",exp="std::__detail::_List_node_base",numchild="1",type="std::__detail::_List_node_base",thread-id="1"},child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.public",exp="public",numchild="1",value="",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.std::__detail::_List_node_base" ^done,value="{...}" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.public" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.public._M_storage",exp="_M_storage",numchild="1",type="__gnu_cxx::__aligned_membuf<unsigned int>",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.public\._M_storage" ^done,value="{...}" -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private",exp="private",numchild="2",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private" 0 2 ^done,numchild="2",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_ptr",exp="_M_ptr",numchild="1",value="0xd000026c <FixedSizeHeap+620> \"\\030\\a\"",type="unsigned char *",thread-id="1"},child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_refcount",exp="_M_refcount",numchild="1",type="std::__shared_count<(__gnu_cxx::_Lock_policy)0>",thread-id="1"}],has_more="0" -var-evaluate-expression "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private\._M_refcount" ^done,value="{...}" ptype/mt unsigned char * &"ptype/mt unsigned char *\n" type = unsigned char * OK -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private\._M_ptr" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_ptr.*_M_ptr",exp="*_M_ptr",numchild="0",value="24 '\\030'",type="unsigned char",thread-id="1"}],has_more="0" -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private\._M_ptr" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_ptr.*_M_ptr",exp="*_M_ptr",numchild="0",value="24 '\\030'",type="unsigned char",thread-id="1"}],has_more="0" ptype/mt std::__shared_count<(__gnu_cxx::_Lock_policy)0> &"ptype/mt std::__shared_count<(__gnu_cxx::_Lock_policy)0>\n" type = class std::__shared_count<(__gnu_cxx::_Lock_policy)0> { private: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)0> *_M_pi; } OK -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private\._M_refcount" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_refcount.private",exp="private",numchild="1",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var14\.std::__shared_ptr<unsigned\ char,\ \(__gnu_cxx::_Lock_policy\)0>\.private\._M_refcount\.private" 0 1 ^done,numchild="1",children=[child={name="var14.std::__shared_ptr<unsigned char, (__gnu_cxx::_Lock_policy)0>.private._M_refcount.private._M_pi",exp="_M_pi",numchild="2",value="0xd0000260 <FixedSizeHeap+608>",type="std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)0> *",thread-id="1"}],has_more="0" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)\(\(std::__cxx11::list<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >::_Node\ \*\)0x2002ffc4\)->_M_next" ^done,value="0xd0000278 <FixedSizeHeap+632>" -data-evaluate-expression --frame 0 --thread 1 "\(void\ \*\)\(\(std::__cxx11::list<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >::_Node\ \*\)0xd0000278\)->_M_next" ^done,value="0x2002ffc4" -var-create --frame 0 --thread 1 - * "((std::__cxx11::list<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >::_Node *)0xd0000278)->_M_data" There is no member or method named _M_data. -var-list-children --simple-values "var15" 0 1 ^done,numchild="1",children=[child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",exp="std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",numchild="1",type="std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",thread-id="1"}],has_more="0" -var-list-children --simple-values "var15" 0 1 ^done,numchild="1",children=[child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",exp="std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",numchild="1",type="std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >",thread-id="1"}],has_more="0" -var-evaluate-expression "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >" ^done,value="{...}" ptype/mt std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > > &"ptype/mt std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >\n" type = class std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > > [with _Tp = std::shared_ptr<unsigned char>, _Alloc = std::allocator<std::shared_ptr<unsigned char> >] { protected: std::__cxx11::_List_base<_Tp, _Alloc>::_List_impl _M_impl; } OK -var-list-children --simple-values "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >" 0 1 ^done,numchild="1",children=[child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >.protected",exp="protected",numchild="1",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >\.protected" 0 1 ^done,numchild="1",children=[child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >.protected._M_impl",exp="_M_impl",numchild="2",type="std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >::_List_impl",thread-id="1"}],has_more="0" -var-evaluate-expression "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >\.protected\._M_impl" ^done,value="{...}" ptype/mt std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >::_List_impl &"ptype/mt std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >::_List_impl\n" type = struct std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >::_List_impl : public std::allocator<std::_List_node<std::shared_ptr<unsigned char> > > { std::_List_node<size_type> _M_node; } OK -var-list-children --simple-values "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >\.protected\._M_impl" 0 2 ^done,numchild="2",children=[child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >.protected._M_impl.std::allocator<std::_List_node<std::shared_ptr<unsigned char> > >",exp="std::allocator<std::_List_node<std::shared_ptr<unsigned char> > >",numchild="1",type="std::allocator<std::_List_node<std::shared_ptr<unsigned char> > >",thread-id="1"},child={name="var15.std::__cxx11::_List_base<std::shared_ptr<unsigned char>, std::allocator<std::shared_ptr<unsigned char> > >.protected._M_impl.public",exp="public",numchild="1",value="",thread-id="1"}],has_more="0" -var-evaluate-expression "var15\.std::__cxx11::_List_base<std::shared_ptr<unsigned\ char>,\ std::allocator<std::shared_ptr<unsigned\ char>\ >\ >\.protected\._M_impl\.std::allocator<std::_List_node<std::shared_ptr<unsigned\ char>\ >\ >" ^done,value="{...}" ptype/mt __gnu_cxx::new_allocator<std::_List_node<unsigned char> > &"ptype/mt __gnu_cxx::new_allocator<std::_List_node<unsigned char> >\n" type = class __gnu_cxx::new_allocator<std::_List_node<unsigned char> > [with _Tp = std::_List_node<unsigned char>] { } OK ptype/mt std::__detail::_List_node_base &"ptype/mt std::__detail::_List_node_base\n" type = struct std::__detail::_List_node_base { std::__detail::_List_node_base *_M_next; std::__detail::_List_node_base *_M_prev; } OK -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.std::__detail::_List_node_base" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.std::__detail::_List_node_base.public",exp="public",numchild="2",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.std::__detail::_List_node_base\.public" 0 2 ^done,numchild="2",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.std::__detail::_List_node_base.public._M_next",exp="_M_next",numchild="1",value="0xd0000238 <FixedSizeHeap+568>",type="std::__detail::_List_node_base *",thread-id="1"},child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.std::__detail::_List_node_base.public._M_prev",exp="_M_prev",numchild="1",value="0xd0000250 <FixedSizeHeap+592>",type="std::__detail::_List_node_base *",thread-id="1"}],has_more="0" ptype/mt __gnu_cxx::__aligned_membuf<unsigned int> &"ptype/mt __gnu_cxx::__aligned_membuf<unsigned int>\n" type = struct __gnu_cxx::__aligned_membuf<unsigned int> [with _Tp = unsigned int] { unsigned char _M_storage[4]; } OK -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.public\._M_storage" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.public._M_storage.public",exp="public",numchild="1",value="",thread-id="1"}],has_more="0" -var-list-children --simple-values "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.public\._M_storage\.public" 0 1 ^done,numchild="1",children=[child={name="var13.std::__cxx11::_List_base<unsigned char, std::allocator<unsigned char> >.protected._M_impl.public._M_node.public._M_storage.public._M_storage",exp="_M_storage",numchild="4",type="unsigned char [4]",thread-id="1"}],has_more="0" -var-evaluate-expression "var13\.std::__cxx11::_List_base<unsigned\ char,\ std::allocator<unsigned\ char>\ >\.protected\._M_impl\.public\._M_node\.public\._M_storage\.public\._M_storage" ^done,value="[4]"
- This reply was modified 7 years, 10 months ago by borbmizzet.
borbmizzetParticipantSo I found where it occurs, in one of the function calls inside the last function call in my bsp_initialize function near the beginning of main. I also noticed that if I add a function call earlier than the one that prints the error, then it errors one function call sooner. Could my systick_handler interrupt getting called a bunch of times cause this? Because other than interrupts, there is no multithreading or RTOS in this program.
Any help would be appreciated.
On a side note, can you add “uncheck all” and “check all” buttons to the “Instrument functions to record their time” profiling session options?
-
AuthorPosts