Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
Мифы о eComStation 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
User Interface  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

Debugging applications

How to write log to file?
Statusline() -- Log file operation. Multi thread, SMP ready

Write to log:

  • Program version
  • Date of log

Debugging PM applications

Например, при запуске PM-программы можно выводить отладочную информацию в свое VIO-окно. Для этого соберите программу, как VIO-приложение, а в начале функции main() превратите ее в PM

   PPIB pib;
   PTIB tib;

   DosGetInfoBlocks(&tib, &pib);

   /* Try morphing into a PM application. */
   if (pib->pib_ultype == 2)          /* VIO */
      pib->pib_ultype = 3;

Debugging drivers

Please switch to Device drivers development

Debugging REXX scripts

Please switch to REXX

 


 

(C) OS2.GURU 2001-2024