Git Product home page Git Product logo

Comments (5)

ioncodes avatar ioncodes commented on June 30, 2024

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.

maskelihileci avatar maskelihileci commented on June 30, 2024

IDA PRO 7.6 SP1

  1. I enable IDA CODE from Ida plugins and I get response like this. "[IDACode] Listening on 127.0.0.1:2075"
  2. Using the ctrl+shift+p shortcut from the software Visual Studio Code "IDACode": Connect and attach a debugger to IDA"
  3. 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"

  1. Then I write "breakpoint()" in the line of code that I am sure is working.
  2. 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.

maskelihileci avatar maskelihileci commented on June 30, 2024

image

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.

ioncodes avatar ioncodes commented on June 30, 2024

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.

maskelihileci avatar maskelihileci commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.