ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
17 июля
46450 Топик полностью
Mahagam (15.12.2005 18:20, просмотров: 1) ответил Evgeny_CD на Первый раз такое про CrossWorks слышу!!!
один только недостаток если в программе встречается любая функция из отладочных, а ЖТАГ отключен, или кроссворк не приконнекчен - прога виснет намертво. обходится простыми редефайнами всех использованных отладочных функций в release версии, и запуске debug версий только из-под кроссворка. млин. а вы ещё запользуйте кроссворковскую многозадачность и паузните проц - в спецокне будут виден список всех задач, их состояния и приоритеты. нахрена мне ОСь с такой-то отладкой?? а вот (если влезет) перечень отладочных функций: These functions are closely modelled on the standard C functions. Output functions debug_printf Formatted output to the virtual console debug_putchar Write one character to the virtual console debug_puts Write string to the virtual console Input functions debug_getchar Read one character from the virtual console debug_getd Read a double floating value from the virtual console debug_getf Read a floating value from the virtual console debug_geti Read an integer from the virtual console debug_getl Read a long integer from the virtual console debug_getll Read a long long integer from the virtual console debug_gets Read a string from the virtual console debug_getu Read an unsigned integer from the virtual console debug_getul Read an unsigned long integer from the virtual console debug_getull Read an unsigned long long integer from the virtual console File functions debug_fopen Open a file debug_fflush Flush a file debug_fclose Close a file debug_fprintf Formatted output to a file debug_fgetc Read one character from a file debug_fgets Read a string from a file debug_fputc Write one character to a file debug_fputs Write a string to a file debug_fread Read from a file debug_fwrite Write to a file debug_fseek Position a file debug_ftell Remember position of a file debug_rewind Reposition to start of a file debug_filesize Get the size of a file debug_clearerr Clear error flags associated with a file debug_feof Test for end of file debug_ferror Test a file for errors Debug functions debug_runtime_error Stop debugger and display a runtime error string debug_break Programmed breakpoint that stops the debugger - вот только у меня эта функция не работала... Misc functions debug_time Returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC)