Results 1 to 3 of 3

Thread: Multi conditional BP ??

  1. #1
    ollylover
    Guest

    Multi conditional BP ??

    Hi..

    I very often have used ollydbg.. (as my user name "ollylover"..)
    Now, What I wanna do is Multi Conditional BreakPoint on one code line..
    How can I do it??

    In detail, How can I use these(MSG, Whnd..) value in conditional Breakpoint log..??

    If 1.10b has not this feature, wanna have this in next new version..

    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Super Moderator
    Join Date
    Dec 2004
    Posts
    1,512
    Blog Entries
    15

    Multi conditional BP ??

    will you read the fine manual or "rtfm"

    Condition: [ESP+4]==00001234 && [ESP+8] IN (0F0..0F7,135)
    Explanation: <WinProc>
    Pause program: On condition

    At entry to window procedure, stack contains:

    [ESP+00] Return address
    [ESP+04] Window's handle
    [ESP+08] Message
    [ESP+0C] wParam
    [ESP+10] lParam
    Now it's clear that first part of condition means: "Window's handle must be 00001234" and second: "Message is one of (BM_GETCHECK...BM_SETIMAGE, WM_CTLCOLORBTN)".

    Important note: Window's handle is different each time window is created, so if you set breakpoint on actual window only, this breakpoint is valid only for the life of this window.


    Message groups


    Group Messages in group
    Any message Any message
    Creation and destruction WM_CREATE, WM_DESTROY, WM_CLOSE, WM_QUERYENDSESSION, WM_QUIT,WM_ENDSESSION, WM_NCCREATE, WM_NCDESTROY, WM_INITDIALOG
    Window activation WM_ACTIVATE, WM_SETFOCUS, WM_KILLFOCUS,WM_ENABLE, WM_SHOWWIND

  3. #3
    ollylover
    Guest

    Multi conditional BP ??

    Hi, oh me anon!!

    First of all, very thanks for your helpful reply !!
    Now it works vey well..



    Have a good day !!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Multi-Threaded Debugger-Injector *Delphi Source
    By Kurapica in forum Mini Project Area
    Replies: 3
    Last Post: June 7th, 2011, 13:56
  2. conditional bp
    By Jo_ti in forum The Newbie Forum
    Replies: 6
    Last Post: September 2nd, 2009, 07:37
  3. conditional log bp
    By dion in forum OllyDbg Support Forums
    Replies: 1
    Last Post: July 31st, 2007, 12:20
  4. Multi Screen ans SI
    By JohnnyBoy in forum Malware Analysis and Unpacking Forum
    Replies: 2
    Last Post: November 4th, 2001, 14:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •