On Fri, May 16, 2014 at 10:49 AM, <d3xhkuo+bi5tjw@xxxxxxxxxxxxxxxxx> wrote: > Hello everyone, > > I would like to set a breakpoint on the recv function. However, when I run the following command in winedbg: > > Wine-dbg>break recv > Breakpoint 1 at 0x... recv in libc.so.6 > > it sets a breakpoint in libc, instead of setting the breakpoint in ws2_32 which would have the recv function on windows (http://msdn.microsoft.com/en-us/library/windows/desktop/ms740121%28v=vs.85%29.aspx). > ... > > How do I set a breakpoint on the recv function in ws2_32? To avoid conflicts in wine the function is called WS_recv: http://source.winehq.org/source/dlls/ws2_32/socket.c#L4246 > Thanks in advance! Best wishes, Bruno