📜  仿真器和调试器之间的区别

📅  最后修改于: 2021-08-29 02:42:26             🧑  作者: 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.