Breakpoint 1, CChatWnd::ProcessMessage (this=0xc9c7f00, sender=8328844420242, message=@0xbfd825b0) at ChatWnd.cpp:129 129 if ( !theApp->amuledlg->IsDialogVisible(CamuleDlg::DT_CHAT_WND) ) { (gdb) pws message 65 'A'109 'm'97 'a'110 'n'100 'd'97 'a'124 '|'87 'W'97 'a'110 'n'110 'n'97 'a'32 ' '107 'k'110 'n'111 'o'119 'w'32 ' '97 'a' 32 ' '114 'r'101 'e'97 'a'108 'l'108 'l'121 'y'32 ' '102 'f'97 'a'115 's'116 't'32 ' '98 'b'101 'e'116 't'116 't'101 'e' 114 'r'32 ' '112 'p'108 'l'97 'a'99 'c'101 'e'32 ' '116 't'111 'o'32 ' '100 'd'111 'o'119 'w'110 'n'108 'l'111 'o'97 'a' 100 'd'32 ' '109 'm'111 'o'118 'v'105 'i'101 'e'115 's'63 '?'$1 = 64 (gdb) p theApp $2 = (class CamuleGuiApp *) 0x87da318 (gdb) p theApp->amuledlg $3 = (class CamuleDlg *) 0xa168510 (gdb) theApp->amuledlg->IsDialogVisible(DT_CHAT_WND) Undefined command: "theApp->amuledlg->IsDialogVisible". Try "help". (gdb) p theApp->amuledlg->IsDialogVisible(DT_CHAT_WND) No symbol "DT_CHAT_WND" in current context. (gdb) p theApp->amuledlg->IsDialogVisible(CamuleDlg::DT_CHAT_WND) $4 = false (gdb) p this $5 = (CChatWnd * const) 0xc9c7f00 (gdb) s CamuleDlg::IsDialogVisible (this=0x834a11c9, dlg=CamuleDlg::DT_CHAT_WND) at amuleDlg.h:136 136 return ( m_nActiveDialog == dlg ) && ( m_is_safe_state ) /* && ( !IsIconized() ) */; (gdb) p m_nActiveDialog Cannot access memory at address 0x834a11c9 (gdb) p this $6 = (class CamuleDlg * const) 0x834a11c9 (gdb) p theApp->amuledlg $7 = (class CamuleDlg *) 0xa168510 (gdb) disassemble Dump of assembler code for function _ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE: 0x0827f852 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+0>: push %ebp 0x0827f853 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+1>: mov %esp,%ebp 0x0827f855 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+3>: sub $0x4,%esp 0x0827f858 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+6>: mov 0x8(%ebp),%eax 0x0827f85b <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+9>: mov 0x254(%eax),%eax 0x0827f861 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+15>: cmp 0xc(%ebp),%eax 0x0827f864 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+18>: jne 0x827f87d <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+43> 0x0827f866 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+20>: mov 0x8(%ebp),%eax 0x0827f869 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+23>: movzbl 0x258(%eax),%eax 0x0827f870 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+30>: xor $0x1,%eax 0x0827f873 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+33>: test %al,%al 0x0827f875 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+35>: jne 0x827f87d <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+43> 0x0827f877 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+37>: movb $0x1,0xffffffff(%ebp) 0x0827f87b <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+41>: jmp 0x827f881 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+47> 0x0827f87d <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+43>: movb $0x0,0xffffffff(%ebp) 0x0827f881 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+47>: movzbl 0xffffffff(%ebp),%eax 0x0827f885 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+51>: leave 0x0827f886 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE+52>: ret End of assembler dump. (gdb) frame 1 #1 0x083c57c7 in CChatWnd::ProcessMessage (this=0xc9c7f00, sender=8328844420242, message=@0xbfd825b0) at ChatWnd.cpp:129 129 if ( !theApp->amuledlg->IsDialogVisible(CamuleDlg::DT_CHAT_WND) ) { (gdb) disassemble Dump of assembler code for function _ZN8CChatWnd14ProcessMessageEyRK8wxString: 0x083c579a <_ZN8CChatWnd14ProcessMessageEyRK8wxString+0>: push %ebp 0x083c579b <_ZN8CChatWnd14ProcessMessageEyRK8wxString+1>: mov %esp,%ebp 0x083c579d <_ZN8CChatWnd14ProcessMessageEyRK8wxString+3>: sub $0x18,%esp 0x083c57a0 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+6>: mov 0xc(%ebp),%eax 0x083c57a3 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+9>: mov %eax,0xfffffff8(%ebp) 0x083c57a6 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+12>: mov 0x10(%ebp),%eax 0x083c57a9 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+15>: mov %eax,0xfffffffc(%ebp) 0x083c57ac <_ZN8CChatWnd14ProcessMessageEyRK8wxString+18>: mov 0x85c03d8,%eax 0x083c57b1 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+23>: mov 0x11c(%eax),%eax 0x083c57b7 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+29>: movl $0x4,0x4(%esp) 0x083c57bf <_ZN8CChatWnd14ProcessMessageEyRK8wxString+37>: mov %eax,(%esp) 0x083c57c2 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+40>: call 0x827f852 <_ZN9CamuleDlg15IsDialogVisibleENS_10DialogTypeE> 0x083c57c7 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+45>: xor $0x1,%eax 0x083c57ca <_ZN8CChatWnd14ProcessMessageEyRK8wxString+48>: test %al,%al 0x083c57cc <_ZN8CChatWnd14ProcessMessageEyRK8wxString+50>: je 0x83c57e9 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+79> 0x083c57ce <_ZN8CChatWnd14ProcessMessageEyRK8wxString+52>: mov 0x85c03d8,%eax 0x083c57d3 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+57>: mov 0x11c(%eax),%eax 0x083c57d9 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+63>: movl $0x1,0x4(%esp) 0x083c57e1 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+71>: mov %eax,(%esp) 0x083c57e4 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+74>: call 0x83c5e1a <_ZN9CamuleDlg15SetMessageBlinkEb> 0x083c57e9 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+79>: mov 0x8(%ebp),%eax 0x083c57ec <_ZN8CChatWnd14ProcessMessageEyRK8wxString+82>: mov 0x160(%eax),%ecx 0x083c57f2 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+88>: mov 0x14(%ebp),%eax 0x083c57f5 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+91>: mov %eax,0xc(%esp) 0x083c57f9 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+95>: mov 0xfffffff8(%ebp),%eax 0x083c57fc <_ZN8CChatWnd14ProcessMessageEyRK8wxString+98>: mov 0xfffffffc(%ebp),%edx 0x083c57ff <_ZN8CChatWnd14ProcessMessageEyRK8wxString+101>: mov %eax,0x4(%esp) 0x083c5803 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+105>: mov %edx,0x8(%esp) 0x083c5807 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+109>: mov %ecx,(%esp) 0x083c580a <_ZN8CChatWnd14ProcessMessageEyRK8wxString+112>: call 0x823d5b8 <_ZN13CChatSelector14ProcessMessageEyRK8wxString> 0x083c580f <_ZN8CChatWnd14ProcessMessageEyRK8wxString+117>: test %al,%al 0x083c5811 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+119>: je 0x83c581e <_ZN8CChatWnd14ProcessMessageEyRK8wxString+132> 0x083c5813 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+121>: mov 0x8(%ebp),%eax 0x083c5816 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+124>: mov %eax,(%esp) 0x083c5819 <_ZN8CChatWnd14ProcessMessageEyRK8wxString+127>: call 0x83c5242 <_ZN8CChatWnd20CheckNewButtonsStateEv> 0x083c581e <_ZN8CChatWnd14ProcessMessageEyRK8wxString+132>: leave 0x083c581f <_ZN8CChatWnd14ProcessMessageEyRK8wxString+133>: ret End of assembler dump. (gdb)