Open kruxmeier opened 4 years ago
That means something is already using that port. Perhaps it's being used by another software or it's a reserved port. Can you test out a simple idapy script (not a plugin) after a fresh reboot?
Well running the idacode server succeeds but when running connect and attach debugger from the client side this error pops up.
ptvsd
otoh is able to connect and does show the redirected stdout but breakpoints don't work.
I see, I wrongly assumed you guys force reloaded IDACode or something.
Have you tried using a different folder? It may be some sort of path issue to the plugins folder. As IDAs internals are doing some path hackery, I have to do some hackish stuff myself to get the debugger to work properly, and referencing to IDAs root (or the plugins subfolder) may cause unexpected issues.
If the breakpoints don't work, make sure you have at least one call to breakpoint()
before a line of code. That will activate breakpoints for the session.
Either way, which IDA version are you on? I can try it out locally next week.
Tested on 7.3
Hello, I have some errors when I use idacode. When IDA 7.0 calls breakpoint() in the script, IDA prompts me to "can't find input file 'C:" users \ \ appdata / roaming / Python / python27 / site packages / debug / adapter'
Can you tell me why? Thank you
Hello, I have some errors when I use idacode. When IDA 7.0 calls breakpoint() in the script, IDA prompts me to "can't find input file 'C:" users \ \ appdata / roaming / Python / python27 / site packages / debug / adapter'
Can you tell me why? Thank you
Had the same issue: https://github.com/ioncodes/idacode/issues/19
When it's trying to set the workspace to the plugins dir it fails with
only one usage of each socket address allowed
.