Comments (5)
Can you send me the exact steps you have taken to attach the debugger and can you let me know which IDA version you're using?
from idacode.
IDA PRO 7.6 SP1
- I enable IDA CODE from Ida plugins and I get response like this. "[IDACode] Listening on 127.0.0.1:2075"
- Using the ctrl+shift+p shortcut from the software Visual Studio Code "IDACode": Connect and attach a debugger to IDA"
- Then it asks me about the project I'm working on, and I press enter.
" [IDACode] Logging to C:\Users\You\AppData\Local\Temp with pattern debugpy.*.log
[IDACode] IDACode debug server listening on 127.0.0.1:2076"
- Then I write "breakpoint()" in the line of code that I am sure is working.
- Using the ctrl+shift+p shortcut from the software Visual Studio Code "IDACODE: Execute script in IDA"
Final : After doing all these operations, any debugger does not work, and when I look at the logs, I understand more clearly that it is not working.
Note : The code is executable only the debugger is not working.
from idacode.
Also, I'm ignoring this error, I don't know if I'm doing it right.
In addition, the IDA CODE plugin I use causes a "memory leak" problem in IDA software.
After leaving it open in the background for a long time, windows crashed, when I examined the error reports, I saw a memory swell of 115 GB.
Then I realized that after a few minutes of activating the ID Code plugin, the private bytes start to increase non-stop.
I checked this with process hacker software.
from idacode.
The memory leak thingy I used to have as well (not always IIRC). That error shouldn't be ignored, it may actually be the reason why it's not working for you. To debug a script (or run it even if memory doesn't fail me) you need to open the folder that your script resides in.
from idacode.
The memory leak thingy I used to have as well (not always IIRC). That error shouldn't be ignored, it may actually be the reason why it's not working for you. To debug a script (or run it even if memory doesn't fail me) you need to open the folder that your script resides in.
Just like you said, the debugger didn't work because I didn't open a folder.
I am very happy now that I have solved the problem.
I think you should specify that you need to create a folder in the topic.
There may be people who get errors like me.
from idacode.
Related Issues (20)
- debugpy may not free port HOT 2
- if __name__ ==... causes error HOT 9
- Version HOT 2
- Does setting breakpoint from vsc supported ? HOT 12
- How to debug plugins? HOT 7
- Unable to attach debugger after debugpy 1.0.0 release HOT 2
- Unable to set breakpoint (BdbQuit exception)
- IDACode does'nt analyze Var type HOT 1
- Two one-line patches HOT 2
- VSC, Can't connect to IDA and attach a debugger. HOT 6
- a key error in use vscode connect to ida HOT 2
- Is it supported on Ubuntu? and i got some trouble ;ida can not install idacode plugin HOT 3
- Option to turn off IDACode plugin in IDA and VSCode HOT 2
- IDA has no python.exe but exists python64.dll, In such case how to specify the python path in settings.py? HOT 4
- Imported module not updated HOT 2
- NameError: name 'idaaip' is not defined HOT 1
- Pycharm support HOT 2
- dynamic breakpoint support HOT 7
- Workspace is "undefined" when skipping InputBox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idacode.