Welcome to Sign in | Join | Help
in Search

Conditional Breakoint

Last post 02-01-2008, 7:30 PM by marioh. 1 replies.
Sort Posts: Previous Next
  •  01-31-2008, 5:07 AM 51

    Conditional Breakoint

    Hi,

    I want to put a conditional breakpoint in DTW debuggers when my applications' PeakVirtualSize has become 110MB. How do I do this in user mode debugging session?

    I tried using @$peb and @$teb but I am not able to proceed further.

    Regards,

    Anubhav.

  •  02-01-2008, 7:30 PM 53 in reply to 51

    Re: Conditional Breakoint

    Hi Anubhav,

    I dont remember seeing a debugger command that exposes this information in a user mode debugging session. From kernel mode you can get it by inspecting the EPROCESS structure. If there is no current command in user mode, you can always write a custom debugger extension and call the GetProcessMemoryInfo API to get the information.

    Thanks,

    Mario

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems