CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

list vs nolist

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SeeCwriter



Joined: 18 Nov 2013
Posts: 159

View user's profile Send private message

list vs nolist
PostPosted: Wed May 22, 2019 5:13 pm     Reply with quote

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: 19195

View user's profile Send private message

PostPosted: Wed May 22, 2019 11:56 pm     Reply with quote

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: 159

View user's profile Send private message

PostPosted: Thu May 23, 2019 10:26 am     Reply with quote

I thought the listing was just information for the programmer.

Thanks.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Thu May 23, 2019 10:42 am     Reply with quote

No. The debugger doesn't perform disassembly. What it displays comes
directly from the .lst file.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group