-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Shubh942/master2
Added gdb Components with functionality of uploading file in server
- Loading branch information
Showing
50 changed files
with
581 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import React from "react"; | ||
import { Route, Routes } 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"; | ||
|
||
const App = () => { | ||
return ( | ||
<Routes> | ||
<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> | ||
{/* You can add more routes here */} | ||
</Routes> | ||
); | ||
}; | ||
|
||
export default App; |
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
webapp/src/components/GdbComponents/BreakPoints/BreakPoints.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.breakpoints { | ||
display: flex; | ||
width: 644px; | ||
height: 177px; | ||
padding: 15px 20px; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 10px; | ||
|
||
border: 1px solid var(--Gray-2, #4f4f4f); | ||
background: #1e1e1e; | ||
overflow-y: scroll; | ||
} |
43 changes: 43 additions & 0 deletions
43
webapp/src/components/GdbComponents/BreakPoints/BreakPoints.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import React from "react"; | ||
import "./BreakPoints.css"; | ||
|
||
const data = [ | ||
{ | ||
offset: "0x2fffa36f603112ffff34", | ||
addr: "/Users/shubh/lib/node_modules/@stdlib/math/docs/t.js:18", | ||
}, | ||
{ | ||
offset: "0x2fffa36f603112ffff34", | ||
addr: "/Users/shubh/lib/node_modules/@stdlib/math/docs/t.js:18", | ||
}, | ||
{ | ||
offset: "0x2fffa36f603112ffff34", | ||
addr: "/Users/shubh/lib/node_modules/@stdlib/math/docs/t.js:18", | ||
}, | ||
{ | ||
offset: "0x2fffa36f603112ffff34", | ||
addr: "/Users/shubh/lib/node_modules/@stdlib/math/docs/t.js:18", | ||
}, | ||
]; | ||
|
||
const BreakPoints = () => { | ||
return ( | ||
<div> | ||
BreakPoints | ||
<div className="breakpoints"> | ||
{data?.length > 0 | ||
? data.map((obj) => { | ||
return ( | ||
<div> | ||
<div>{obj.offset}</div> | ||
<div>{obj.addr}</div> | ||
</div> | ||
); | ||
}) | ||
: ""} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BreakPoints; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.context { | ||
display: flex; | ||
width: 644px; | ||
height: 177px; | ||
padding: 15px 20px; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 10px; | ||
|
||
border: 1px solid var(--Gray-2, #4f4f4f); | ||
background: #1e1e1e; | ||
} |
Oops, something went wrong.