This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

On debug method(How to implement the "TRACE" macro?)

Dear all,my footprint of 51 on my project board is PLCC44,so the ICE can't be used(footprint is DIP40).I have to connect the 51's serial port to PC and dump everthing I need to it.So the program of debug version are full of "printf" statements which are unnecessary on release version.Thus,Can we write a "TRACE" macro to resolve it?MFC implement it for us while Keil C don't.

Parents
  • "MFC implement it for us while Keil C don't."

    Yes, and MFC requires Win32, a Pentium processor running at several hundred MHz, several hundred MB of hard drive space, tens of MB of RAM, etc, etc, etc,... - while Keil C don't (sic)!

    So no surprises there, then!!

Reply
  • "MFC implement it for us while Keil C don't."

    Yes, and MFC requires Win32, a Pentium processor running at several hundred MHz, several hundred MB of hard drive space, tens of MB of RAM, etc, etc, etc,... - while Keil C don't (sic)!

    So no surprises there, then!!

Children
No data