Skip to content

Conversation

@Prerna-0202
Copy link
Owner

@Prerna-0202 Prerna-0202 commented Mar 19, 2023

GSOC

POC

Fixes #245

Describe the changes you have made in this PR -

There should be a way to identify the currently selected component (on the canvas) and modify that component's object (in the globalscope)

  1. Added getCurrentlySelectedComponent() function to get the most recent selected component on the circuit.
  2. Added getAllSelectedComponent() function to get all the multiple selected component on the circuit.

In case of the 'Simulation Stack Exceeded' error, there should be a way to find the components that are being added to the simulation stack an unnaturally large number of times.

  1. Added getSimulationLog() function, which will return the array of components that are being added to the simulation stack an unexpectedly large number of times.

Screenshots of the changes (If any) -

currentlyselectedcomponent.online-video-cutter.com.webm

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Prerna-0202 and others added 2 commits March 5, 2023 16:15
…n the canvas) and In case of the 'Simulation Stack Exceeded' error, there should be a way to find the components that are being added to the simulation stack unnaturally large number of times.
@Prerna-0202 Prerna-0202 changed the title There should be a way to identify the currently selected component (o… Debug Interface Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a debug Interface

2 participants