tmr232/Sark

cannot break at the breakpoint when debugging IDAPython code by VisualStudio

Opened this issue · 4 comments

Hi,

I tried to debug IDAPython code according to your blog post.
http://sark.readthedocs.io/en/latest/debugging.html

I could install required packages and attach to IDA but I cannot break the execution.
For example, I set the breakpoint in the following code but it was ignored and print the message.

screen shot 2017-12-21 at 8 21 42 pm

Any thought?
The attaching looks working and message is also displayed in VS output window.
I use IDA 7.0/6.95 and PTVS 2.2.6.

I've had issues with that as well.
Sadly, I only have it working intermittently for me now, with no actual fix.

ok, thanks for reply.

Any fix for this method of debugging on IDA 7.2?

I did not get to play with it yet, so I cannot answer that.
As for debugging - it might be that the timing of the first connection changes functionality.
IIRC, I had to first load a binary into IDA before connecting the debugger or it failed to work. It might be worth trying that out.