r/AskReverseEngineering • • Jun 02 '21

Debugging on IDE vs debugging on disassembler

When debugging through a disassembler, we can set a breakpoint at the address "0x423000". We can specify the type of this breakpoint. read, write, execute.
For example, if the address 0x423000 belongs to a global variable; We can set a breakpoint when that variable is read or written.

But when debugging through a IDE(vscode etc.), we cannot set a breakpoint when a variable is read or written. Why?

Is it something impossible?

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/khedoros Jun 02 '21

I've never cared much for VS Code, especially with C or C++. It works well as a fancy editor, but poorly as an IDE. You'll have to figure out what kind of configuration it needs to interface with your debugger properly.