Does the debugger require #list to work? Because the debugger (v5.085) gives me error "cannot resolve address at line 37" when #nolist is present and I try to step or run to code after #nolist.
Code:
#nolist
int somefunc()
{
int a, b;
return a+b;
}
Ttelmah
Joined: 11 Mar 2010 Posts: 19537
Posted: Wed May 22, 2019 11:56 pm
Yes.
nolist, says 'do not generate assembler listing'. The debugger uses this.
So turning off the listing, turns off the ability to debug.
SeeCwriter
Joined: 18 Nov 2013 Posts: 160
Posted: Thu May 23, 2019 10:26 am
I thought the listing was just information for the programmer.
Thanks.
Ttelmah
Joined: 11 Mar 2010 Posts: 19537
Posted: Thu May 23, 2019 10:42 am
No. The debugger doesn't perform disassembly. What it displays comes
directly from the .lst file.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum