Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion webapp/src/components/Breakpoint/Breakpoint.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const Breakpoint = () => {
location: breakLine,
name: "program",
});
console.log(data);
toast.success("Added breakpoint", {
autoClose: 1000,
});
Expand Down
1 change: 0 additions & 1 deletion webapp/src/components/DebugHeader/DebugHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const DebugHeader = () => {
} = DataState();

const handleRun = (command) => {
console.log("clicked");
setCommandPress(!commandPress);
setTerminalOutput(command);
};
Expand Down
4 changes: 1 addition & 3 deletions webapp/src/components/Functions/Functions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ const Functions = () => {

const fetchFunctionsData = async () => {
try {
console.log("click from functions");
const data = await axios.post("http://127.0.0.1:10000/get_locals", {
name: "program",
});
console.log(data.data.result);
setFunctions(data.data.result);
} catch (error) {
console.log(error);
console.error(error);
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ const BreakPoints = () => {
const data = await axios.post("http://127.0.0.1:10000/info_breakpoints", {
name: "program",
});
console.log(data.data["result"]);
setInfoBreakpointData(data.data["result"]);
};
useEffect(() => {
if (refresh) {
console.log("click from breakpoint in GdbComponents");
fetchInfoBreakpoints();
}
}, [refresh]);
Expand Down
2 changes: 0 additions & 2 deletions webapp/src/components/GdbComponents/MemoryMap/MemoryMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ const MemoryMap = () => {
const { refresh, memoryMap, setMemoryMap } = DataState();

const fetchMemoryMap = async () => {
console.log("Click form memory map");
const data = await axios.post("http://127.0.0.1:10000/memory_map", {
name: "program",
});
console.log(data.data.result);
setMemoryMap(data.data.result);
};

Expand Down
4 changes: 1 addition & 3 deletions webapp/src/components/Stack/Stack.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ const Stack = () => {

const fetStackData = async () => {
try {
console.log("click from stack");
const data = await axios.post("http://127.0.0.1:10000/stack_trace", {
name: "program",
});
console.log(data.data.result);
setStack(data.data.result);
} catch (error) {
console.log(error);
console.error(error);
}
};
useEffect(() => {
Expand Down
3 changes: 0 additions & 3 deletions webapp/src/components/Terminal/TerminalComp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const TerminalComp = () => {

const handleCommand = async (command, ...args) => {
const fullCommand = [command, ...args].join(" ");
console.log("Full Command:", fullCommand);
try {
const { data } = await axios.post("http://127.0.0.1:10000/gdb_command", {
command: fullCommand,
Expand All @@ -30,9 +29,7 @@ const TerminalComp = () => {
};

useEffect(() => {
console.log(terminalOutput);
if (terminalOutput) {
console.log(terminalOutput);
defaultHandler(terminalOutput);
}
}, [commandPress]);
Expand Down