All files / src App.jsx

100% Statements 32/32
100% Branches 1/1
100% Functions 1/1
100% Lines 32/32

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 331x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 1x 1x  
import React from "react";
import { Route, Routes, Navigate } from "react-router-dom";
import Debug from "./pages/Debug/Debug";
import Threads from "./components/GdbComponents/Threads/Threads";
import LocalVariable from "./components/GdbComponents/LocalVariable/LocalVariable";
import Context from "./components/GdbComponents/Context/Context";
import MemoryMap from "./components/GdbComponents/MemoryMap/MemoryMap";
import BreakPoints from "./components/GdbComponents/BreakPoints/BreakPoints";
import Footer from "./components/Footer/Footer";
import Header from "./components/Header/Header";
 
const App = () => {
  return (
    <div>
      <Header />
 
      <Routes>
        <Route path="/" element={<Navigate to="/debug" replace />} />
        <Route path="debug" element={<Debug />}>
          <Route path="threads" element={<Threads />} />
          <Route path="localVariable" element={<LocalVariable />} />
          <Route path="context" element={<Context />} />
          <Route path="memoryMap" element={<MemoryMap />} />
          <Route path="breakPoints" element={<BreakPoints />} />
        </Route>
      </Routes>
      <Footer />
    </div>
  );
};
 
export default App;