Reply To: Debug error – SIGSEGV in watch

Sysprogs forums Forums VisualGDB Debug error – SIGSEGV in watch Reply To: Debug error – SIGSEGV in watch

#8004
Char
Participant

if i add watch by pivate field all ok

order->_cancelReplaceOrder->_orderStatus

errorn and debug stop only if i use public const getter

order->CancelReplaceOrder()->OrderStatus()”

BaseOrder * CancelReplaceOrder() const {return _cancelReplaceOrder; }

TradeExchange::OrdStatusEnum OrderStatus() const { return _orderStatus; }