Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i.e presently we are working in gaming project ,why we need to debug our code in linux or unix
can anyone explain with an example
Posted
Comments
Sergey Alexandrovich Kryukov 11-Nov-14 22:38pm    
Explain what? Do you really develop some game project which can run on both Windows and Linux? Even though it is possible, this is a rare thing. But at least you should understand that those are different OS. You cannot start with debugging, first, you need to understand how to develop for these OS. If you understand just a bit, I bet the question on debugging won't even appear anymore.
—SA

1 solution

In order to be compatible with multiple operating systems requires that you have written your code in an operating systems independent way, which is an art in itself, and usually is done using libraries that take over the operating system dependent parts for you.

You need to debug your code for every operating system that you want it to run on. Even if you have used third-party libraries for the operating system level abstraction, there remain many aspects that need to be verified for every operating system, simply because those libraries cannot not mask all operating system dependent details.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900