You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing debug using QtCreator and latest commit ....
My Cartesian diagram is showing just a part (5n...6n) of the simulated data range (0n->6n)
In this context the console-output is flooded with error message. The messages are associated to negative values given/returned by the listed functions in graph.cpp
void Graph::ScrPt::setScrX(float x)
void Graph::ScrPt::setScrY(float x)
float Graph::ScrPt::getScrX() const
Those function are called very very often if the diagram is redrawn (e.g. clipping algorithm).
It's a heavy performance drop in case of debugging.
Normal use case (non-debug) ...
latest commit & release build
built executable started by QtCreator environment ... behaves similar to the debugging build, but just stderr is printed (qdebug is suppressed)
already built executable, but started from cmd.exe ... does not print anything to the commandline
already built executable, but started from C:\msys64\mingw64.exe ... prints like the debug session.
latest release (0.0.19) @ Win7Pro ... does not print anything to the commandline
I think there is already a PR including a fix for this, see #314 (comment) and #370 , please check if that works ok .
(yes, sometimes all those debug messages slow down the graphs redraw quite a lot)
Now I'm definitely nervous ... maybe just confused ...
PR #314 is closed, but I do not see any of the changes made in 2015 while cloning the repo 2016/Nov (same for successor PR #370)
PR #370 may not easily merge with PR #631 ... (changes in rect3ddiagram.cpp)
Btw. ... have seen already graph-segments drawn outside of the regular 2D Cartesian diagram region. Unfortunately the test schematic has been thrown away.
#314 was closed "by mistake" and #370 is its continuation, so the code there was not yet merged anywhere. My comment above was just to say that the debug messages should be reduced once that PR is merged.
I don't remember seeing segments out of place in 2D graphs, please open an issue if you happen to see that again.
While doing debug using QtCreator and latest commit ....
graph.cpp
void Graph::ScrPt::setScrX(float x)
void Graph::ScrPt::setScrY(float x)
float Graph::ScrPt::getScrX() const
It's a heavy performance drop in case of debugging.
Normal use case (non-debug) ...
Test schematic: test_negativeScreenCoordinates.sch.
The text was updated successfully, but these errors were encountered: