Closed OevreFlataeker closed 4 years ago
I got it working. There was a rogue python.exe process still running in the background from a previous(?) run. After killing that process that blocked port 7066\tcp, the debugger could be started and I was able to debug the script. It seems everything is still quite fragile, but it is a VERY promising project! Thrilled to see where it will progress into!
I'm glad you got it working! That is indeed a bug and I'm not quite sure what the reason for it is. It seems like debugpy
isn't able to terminate the process under certain circumstances but I wasn't able to track the issue back neither was I able to consistently reproduce the bug. I was looking at an API in debugpy
to terminate the server but it seems like such functionality isn't implemented. As a possible fix I had the idea to hook the process creation function and make a copy of the process ID. Once IDA terminates I would then force kill that process but that might introduce other issues. I will close this issue and create a new one to track the progress on this bug.
That being said: Thank you for showing interest in the project. I've been quite busy currently but it's starting to get better and I'll be able to address the issues and implement new features soon! 🎉
Hello, I've got some trouble getting idacode to work. Using IDA Pro 7.5 SP1, Python 3.6 x64, latest VS Code and IDACode
Installed VSCode extension, IDA Plugin pip prerequisites, IDA Plugin. Verified settings. Loaded binary in IDA to analyze. Started Plugin in IDA:
Then loading a small IDA Python script ("POP POP RET" gadget finder) in VSCode
IDACode -> Connect and attach..., select folder "D:\"
Message in IDA:
Now IDACode -> Execute Script in IDA
gives me in IDA:
Did I miss something?