Results 1 to 8 of 8

Thread: Intercepting messages in softice

  1. #1
    BobTheRock
    Guest

    Intercepting messages in softice

    Hello,
    I was wondering what type of debugging capabilities softice provides for intercepting UI messages. Does one have to for example go to a window procedure and place conditional brakepoints there looking for the wanted messages or does it provide easier methods of trapping such messages? Thanks.


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

  2. #2
    4oh4
    Guest
    Kayaker gave a good answer to this in another thread here (http://usa3.hostrack.net/woodmann/Ultraboard/Public/HTML/B8/2115-1.topic.html).
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    4oh4
    Guest
    Kayaker gave a good answer to this in another thread here (http://usa3.hostrack.net/woodmann/Ultraboard/Public/HTML/B8/2115-1.topic.html).
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    bob
    Guest
    Hello,
    what does bmsg <hwnd> wm_command mean? You simply type it in without having to get to the address of the window procedure???? I'm asking because I'm trying to decide if to adopt softice (I never used it) as my standard debugger understanding what it provides compared to the others.

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

  5. #5
    latigo
    Guest
    The command pretty much speaks for itself
    bmsg hwnd WM_MESSAGE means that Sice will break whenever the window represented by hwnd processes the WM_MESSAGE.
    And do adopt Softice as your 'standard' debugger for its the best
    Bye

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

  6. #6
    BobTheRock
    Guest
    Hello,
    what I was curious about is if you can just type in the said command (and softice does the rest, finding the window procedure associated to the specified window) or you have to go to the window procedure to set such a breakpoint.


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

  7. #7
    4oh4
    Guest
    Heya latigo

    Bob, type "hwnd stuff" (where stuff is stuff.exe, the application you're debugging) at the sice prompt. Then look through all the handles for the main handle (check the class name). Then use that handle that you've found with "bmsg 0D0 wm_command" (assuming that "0d0" is your handle).
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  8. #8
    Or alternately use a spying utility like Windowse to obtain the handle of the window in question.

    Regards,
    Clandestiny

Similar Threads

  1. Intercepting proxy
    By LaptoniC in forum Tools of Our Trade (TOT) Messageboard
    Replies: 1
    Last Post: July 27th, 2012, 20:48
  2. Private messages
    By wtbw in forum Off Topic
    Replies: 38
    Last Post: June 29th, 2010, 19:41
  3. Stop WM_TIMER messages to an app that uses 100% cp
    By Mac in forum OllyDbg Support Forums
    Replies: 2
    Last Post: September 28th, 2004, 20:30
  4. Windows messages. How to intercept?
    By en0n in forum OllyDbg Support Forums
    Replies: 2
    Last Post: September 11th, 2003, 22:33
  5. how can i make breakpoint for messages?
    By andyboll in forum OllyDbg Support Forums
    Replies: 3
    Last Post: May 18th, 2003, 10:29

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
  •