当我们在visual studio中开发代码时,为什么我们需要在linux或unix中调试我们的代码 [英] when ever we are developing code in visual studio,why we need to debug our code in linux or unix

查看:77
本文介绍了当我们在visual studio中开发代码时,为什么我们需要在linux或unix中调试我们的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即目前我们正在开发游戏项目,为什么我们需要在linux或unix中调试我们的代码

任何人都可以解释一个例子

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

推荐答案

为了与多个操作系统兼容,要求您以独立于操作系统的方式编写代码,这本身就是一门艺术,通常使用库来完成接管操作系统相关的部分。 。



您需要为希望它运行的每个操作系统调试代码。即使您使用第三方库进行操作系统级抽象,仍然需要为每个操作系统验证许多方面,因为这些库不能掩盖所有依赖于操作系统的细节。
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.

这篇关于当我们在visual studio中开发代码时,为什么我们需要在linux或unix中调试我们的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆