How can I set a conditional breakpoint based on the argument of a function?
I am trying to break on the windows function
I want to break on this function only when the first argument (
lpLibFileName) is equal to
L"Test.dll". When I break on the function I can see that
I've tried a few different variations without success. They either break on every
LoadLibraryExW calls or none. Variations like:
Break Condiditon: [esp+4]==L"Test.dll" Break Condition: esp+4==L"Test.dll" etc..
What is the proper way of setting a conditional breakpoint based on function arguments? Or register offsets?