User forums > General (but related to Code::Blocks)

Breakpoints in assembly code

<< < (3/4) > >>

oBFusCATed:
So at step 3 you're able to go to your function and debug it line by line, aren't you?

oBFusCATed:
Also make sure to pass -F dwarf to nasm...

druizm:

--- Quote from: oBFusCATed on May 16, 2019, 07:24:21 pm ---So at step 3 you're able to go to your function and debug it line by line, aren't you?

--- End quote ---

Yes. When I add the breakpoint in the C file where ASM is called, in the dissassembly view I can run a "Step into instruction" with no problem.

druizm:

--- Quote from: oBFusCATed on May 16, 2019, 07:27:01 pm ---Also make sure to pass -F dwarf to nasm...

--- End quote ---

OK, reconfiguring my "Settings --> Compiler" configuration.

Why this change?

Thanks!

druizm:

--- Quote from: druizm on May 17, 2019, 12:19:27 pm ---
--- Quote from: oBFusCATed on May 16, 2019, 07:27:01 pm ---Also make sure to pass -F dwarf to nasm...

--- End quote ---

OK, reconfiguring my "Settings --> Compiler" configuration.

Why this change?

Thanks!

--- End quote ---


Yeahhhh!!!!!!! Adding "-F dwarf" I can debug "line to line, instruction to instruction" my ASM source file...

Thaaaaaaaaaaaanks!!!!!!!!!!!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version