📜  模拟器和调试器的区别

📅  最后修改于: 2021-09-14 02:10:29             🧑  作者: Mango

1.模拟器
仿真器,顾名思义,基本上是一种硬件或软件,它使一个设备能够像其他设备一样运行。它通常通过模仿来宾的设备架构来工作。它非常有用,尤其是在视频游戏中,因为它允许用户提高游戏中的分辨率并使用各种控制器进行游戏。当原始系统很难或很难获得并且无法获得模数适配器时,它也很有用。

示例: BlueSticks、Nestopia 等。

2.调试器
调试器,顾名思义,就是识别和修复程序中的错误的程序。它只是提供了数据结构的最大有用信息,并且还可以轻松解释。它检测并删除软件代码中现有的潜在错误。它被认为是软件故障排除的重要工具。

示例: Firefox JavaScript 调试器、LLDB 等。

模拟器和调试器的区别:

Emulator

Debugger  

It is a tool that allows one computer system to imitate or limit functions of another computer system.   It is a tool that allows programmers to test and debug target program. 
It allows host system to run software or use peripheral devices that designed for guest system.   It allows user to step through another program one line at a time.  
It makes it possible to use android apps on Windows and Mac. It makes it possible to run target program under controlled conditions. 
It generally helps to turn PC into Mac and let you plan games from any era.  It generally helps to identify errors in computer program and to fix them.  
It emulates processor by using expensive bond-out processor connecting to plug.   It provides equivalent access on using on-chip debugging hardware with standard production processors.  
It is simply used as a substitute for main controller or eprom, etc.   It is simply used to reproduce conditions in which error has occurred and then to examine program state at that time and locate cause.  
It can debug at controller hw level.   It is used for external signal debugging only.
It is really important as it bridge gap between devices that allows program to work on all sorts of hardware.   It is really important as it reports error condition as soon as possible.  
It simply makes or creates virtual android device on computer. It simply makes software development process stress-free and unproblematic.