Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Does anyone know how to treat the massive Makefile?

Status
Not open for further replies.

u24c02

Advanced Member level 1
Joined
May 8, 2012
Messages
404
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,101
Hi.

I am going to treat the massive file.
It seems look that it's having a line at least 10000 over.
So I want use this way as step by step to debugging Makefile.

Is there any proper way to debug in this case?
 

Well. Keep breakpoints at several places in the flow or add some display statements..
 

Thanks,
But unfortunately I am just newbie. So I need your some example about how to make break point and where should I put the display command or break point in Makefile.
So would you please let me know some example in regards to your answer?
 

You can put a breakpoint(it will stop execution of the script at that point) after you have completed some major task within the makefile. You break the script at that point and check if everything is fine till that point. Once you are sure of everything till that point, you can shift the breakpoint to some other place and then check that...
e.g.
Task1: write registers
breakpoint;
Task2:Read status registers;
breakpoint;
etc....
 
  • Like
Reactions: u24c02

    u24c02

    Points: 2
    Helpful Answer Positive Rating
If you can would you please let me know exactly example?
As I know, above your recommends are not put in the Makefile.
Also Makefile does not support breakpoint.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top