Wrong variable or address
prometheusAmb opened this issue · comments
If I type in variable name during debug I get the above message "Wrong variable or address", although the variable has been defined and it exists. Therefore I cannot see the value of the variable.
Probably you should select the correct values in the drop-down lists according to the variable type or add the variable via the context menu.
Thanks for your response. I have tried both methods but they are not working
Ok, if the issue still be actual, please provide the version of SASM, OS, Settings->Build tab screenshot, the source code and the variable you want to watch.
Hello. Here are the details you asked for:
SASM version:
SASM (SimpleASM) 3.14.0 - simple Open Source IDE for NASM, MASM, GAS and FASM assembler languages.
Licensed under the GNU GPL v3.0
Based on the Qt.
Copyright (c) 2013 Dmitriy Manushin
Development and idea - Dmitriy Manushin
Icon and advices - Alick Gaybullaev
Simple program to reproduce the issue:
section .data
msg db 'Pramathesh Ambasta'
len equ $-msg
section .bss
buf: resb len
section .text
global _start
_start:
mov esi,msg
mov edi,buf
mov ecx,len
rep movsb
mov ecx,buf
mov edx,len
mov eax,4
mov ebx,1
int 80h
Attached:
- SASM build settings

2 Screenshot showing "Wrong variable or address" when variable is entered manually in the watch list
- Screenshot showing "Wrong variable or address" when variable is entered by right click
Try use such options "$PROGRAM.OBJ$ -g -o
Hello. Thanks for your response. I tried above but didn't work. Same error still

