Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .asm file breakpoint support. #1089

Open
Raduq91 opened this issue Apr 2, 2024 · 0 comments
Open

Add .asm file breakpoint support. #1089

Raduq91 opened this issue Apr 2, 2024 · 0 comments
Labels
enhancement Enchancement request

Comments

@Raduq91
Copy link

Raduq91 commented Apr 2, 2024

VScodium, windows 10 x64, clang.
It goes correctly and successfully into asm file when 'stepping into' from main function, steps correctly and returns correctly back into main function but I can't set breakpoints in the asm file.

in main.cpp I added external asm(yasm) function "int my_asmz(int);"

in main function added:
int x = 50;
int y = my_asmz(x);
printf("%d", y);

asm file:

DEFAULT REL
section .data
section .text

global my_asmz

my_asmz:
    mov eax, ecx
    add eax, 6
    ret
@Raduq91 Raduq91 added the enhancement Enchancement request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enchancement request
Projects
None yet
Development

No branches or pull requests

1 participant