24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers

Debugging & Tools interview questions

27 real Debugging & Tools questions from the Embedded Systems bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is JTAG versus SWD?

Junior
  1. A.use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
  2. B.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  3. C.read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  4. D.captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
Reveal the answer + AI explanation — free account

2. Which term means: "four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port"?

Junior
  1. A.Hard fault analysis
  2. B.JTAG versus SWD
  3. C.Protocol analyser
  4. D.Semihosting and SWO tracing
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.JTAG versus SWD — dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  2. B.JTAG versus SWD — four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  3. C.JTAG versus SWD — OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  4. D.JTAG versus SWD — use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
Reveal the answer + AI explanation — free account

4. What is GDB and OpenOCD?

Junior
  1. A.captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
  2. B.OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  3. C.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  4. D.dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
Reveal the answer + AI explanation — free account

5. Which term means: "OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target"?

Junior
  1. A.Logic analyser
  2. B.Protocol analyser
  3. C.JTAG versus SWD
  4. D.GDB and OpenOCD
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.GDB and OpenOCD — debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing
  2. B.GDB and OpenOCD — captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
  3. C.GDB and OpenOCD — embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  4. D.GDB and OpenOCD — OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
Reveal the answer + AI explanation — free account

7. What is Oscilloscope probing basics?

Junior
  1. A.OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  2. B.use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
  3. C.embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  4. D.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
Reveal the answer + AI explanation — free account

8. Which term means: "use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz"?

Junior
  1. A.Unit testing embedded code
  2. B.GDB and OpenOCD
  3. C.Hard fault analysis
  4. D.Oscilloscope probing basics
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.Oscilloscope probing basics — read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  2. B.Oscilloscope probing basics — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  3. C.Oscilloscope probing basics — embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  4. D.Oscilloscope probing basics — use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
Reveal the answer + AI explanation — free account

10. What is Logic analyser?

Mid
  1. A.embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  2. B.read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  3. C.OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  4. D.captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
Reveal the answer + AI explanation — free account

11. Which term means: "captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events"?

Mid
  1. A.Semihosting and SWO tracing
  2. B.Hard fault analysis
  3. C.Logic analyser
  4. D.Oscilloscope probing basics
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Logic analyser — four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  2. B.Logic analyser — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  3. C.Logic analyser — dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  4. D.Logic analyser — captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
Reveal the answer + AI explanation — free account

13. What is Protocol analyser?

Mid
  1. A.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  2. B.dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  3. C.captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
  4. D.embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
Reveal the answer + AI explanation — free account

14. Which term means: "dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe"?

Mid
  1. A.Logic analyser
  2. B.Protocol analyser
  3. C.Oscilloscope probing basics
  4. D.GDB and OpenOCD
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Protocol analyser — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  2. B.Protocol analyser — read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  3. C.Protocol analyser — captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
  4. D.Protocol analyser — dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
Reveal the answer + AI explanation — free account

16. What is Semihosting and SWO tracing?

Mid
  1. A.debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing
  2. B.embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  3. C.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  4. D.use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
Reveal the answer + AI explanation — free account

17. Which term means: "debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing"?

Mid
  1. A.Logic analyser
  2. B.JTAG versus SWD
  3. C.Semihosting and SWO tracing
  4. D.Instruction trace (ETM)
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.Semihosting and SWO tracing — dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  2. B.Semihosting and SWO tracing — read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  3. C.Semihosting and SWO tracing — debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing
  4. D.Semihosting and SWO tracing — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
Reveal the answer + AI explanation — free account

19. What is Unit testing embedded code?

Mid
  1. A.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  2. B.compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  3. C.use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
  4. D.debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing
Reveal the answer + AI explanation — free account

20. Which term means: "compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI"?

Mid
  1. A.Logic analyser
  2. B.Unit testing embedded code
  3. C.Protocol analyser
  4. D.JTAG versus SWD
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Unit testing embedded code — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  2. B.Unit testing embedded code — OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  3. C.Unit testing embedded code — four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  4. D.Unit testing embedded code — captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
Reveal the answer + AI explanation — free account

22. What is Hard fault analysis?

Senior
  1. A.captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
  2. B.use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
  3. C.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  4. D.read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
Reveal the answer + AI explanation — free account

23. Which term means: "read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow"?

Senior
  1. A.GDB and OpenOCD
  2. B.Unit testing embedded code
  3. C.Hard fault analysis
  4. D.Instruction trace (ETM)
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.Hard fault analysis — read CFSR, HFSR, BFAR and MMFAR plus the stacked PC and LR in the fault handler to find the faulting instruction, typically a null pointer, misaligned access or stack overflow
  2. B.Hard fault analysis — use a 10× probe with a short ground lead and bandwidth at least five times the signal frequency, and check compensation, since a long ground lead rings at tens of MHz
  3. C.Hard fault analysis — debug printf through the ITM/SWO pin or through semihosting breakpoints without a UART; SWO is low-intrusion, semihosting halts the core and distorts timing
  4. D.Hard fault analysis — captures many digital channels simultaneously with protocol decoders for SPI, I2C and UART, triggering on patterns to correlate bus traffic with firmware events
Reveal the answer + AI explanation — free account

25. What is Instruction trace (ETM)?

Senior
  1. A.four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
  2. B.OpenOCD drives the probe and exposes a GDB server on port 3333, so gdb can load, halt, single-step and set hardware breakpoints and watchpoints on the target
  3. C.dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  4. D.embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
Reveal the answer + AI explanation — free account

26. Which term means: "embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware"?

Senior
  1. A.JTAG versus SWD
  2. B.Instruction trace (ETM)
  3. C.Semihosting and SWO tracing
  4. D.Unit testing embedded code
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Senior
  1. A.Instruction trace (ETM) — dedicated hardware such as a CAN or USB analyser capturing and decoding traffic at line rate with timestamps and error frames the MCU itself cannot observe
  2. B.Instruction trace (ETM) — embedded trace macrocell streaming executed instruction flow to a trace probe, giving non-intrusive reconstruction of crashes and code coverage on real hardware
  3. C.Instruction trace (ETM) — compiling logic off-target with Unity/CMock or GoogleTest and mocking the hardware access layer, so business logic is tested on the host in CI
  4. D.Instruction trace (ETM) — four or five-wire JTAG versus ARM's two-wire Serial Wire Debug (SWDIO, SWCLK) giving the same core access with fewer pins, both reaching the debug access port
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. The full AI mock interview, scored like a real panel, unlocks with Pro.

Practice Debugging & Tools free