Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thread 3 "appchat-server" hit Breakpoint 1, Protocol::MsgFactory::serialize_response (header_ptr=..., response_ptr=...)
- at /home/focus/WS/Dev/AppChat/appchat/src/protocol/include/protocol/msgfactory.cpp:162
- 162 bin_buffer.resize(SIZE_HEADER + byteSize);
- (gdb) n
- 163 header_ptr->set_length(byteSize);
- (gdb) n
- 163 header_ptr->set_length(byteSize);
- (gdb) s
- Serialize::Header::set_length (this=0x7fffe4001ab0, value=13) at /home/focus/WS/Dev/AppChat/appchat/src/protocol/include/protocol/msgfactory.cpp:163
- 163 header_ptr->set_length(byteSize);
- (gdb) s
- Serialize::Header::_internal_set_length (this=0x7fffe4001ab0, value=13) at /home/focus/WS/Dev/AppChat/build/src/protocol/messages.pb.h:478
- 478 length_ = value;
- (gdb) s
- Protocol::MsgFactory::serialize_response (header_ptr=..., response_ptr=...) at /home/focus/WS/Dev/AppChat/appchat/src/protocol/include/protocol/msgfactory.cpp:164
- 164 header_ptr->SerializeToArray(bin_buffer.data(), SIZE_HEADER);
- (gdb) s
- std::__cxx1998::vector<unsigned char, std::allocator<unsigned char> >::data (this=0x7ffff57d3918)
- at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:1169
- 1169 { return _M_data_ptr(this->_M_impl._M_start); }
- (gdb) s
- Protocol::MsgFactory::serialize_response (header_ptr=..., response_ptr=...) at /home/focus/WS/Dev/AppChat/appchat/src/protocol/include/protocol/msgfactory.cpp:164
- 164 header_ptr->SerializeToArray(bin_buffer.data(), SIZE_HEADER);
- (gdb) s
- google::protobuf::MessageLite::SerializeToArray (this=0x7fffe4001ab0, data=0x7fffe4001ab0, size=19) at google/protobuf/message_lite.cc:481
- 481 google/protobuf/message_lite.cc: Нет такого файла или каталога.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement