Sagar Mody wrote:
        
>> In the end, I couln't make on-device debugging run under USB, so I
>> put a couple of alerts with the line number to track code
>> execution.

> How to we print the line number in the alert in Metrowerks
> CodeWarrior ?

Actually, I think the __LINE__ symbol is defined in most C compilers (like 
__FUNCTION__ and probably others). So it goes like this:

Char line[ 8 ];

StrIToA( line, __LINE__ );
FrmCustomAlert( SomeAlert, line, "", "" );


Luc Le Blanc
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to