summaryrefslogtreecommitdiff
path: root/editor/script_editor_debugger.cpp
AgeCommit message (Collapse)Author
2019-11-20Merge pull request #33583 from qarmin/fix_overflows_unitializedRémi Verschelde
Fix some overflows and unitialized variables
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-11-18Fixed ScriptEditorDebugger minimum sizePouleyKetchoupp
Changed to MarginContainer to enforce debugger tabs minimum size on the parent, avoids overlapping controls with Profiler and Network Profiler tabs. Fixes #20837
2019-11-08Merge pull request #27742 from rxlecky/camera-replicationRémi Verschelde
Game camera override
2019-11-04Fixed cases where labels with autowrap can overflow the editor uiPouleyKetchoupp
Fixes #33155
2019-10-28Fixed remote inspector for tool scriptsPouleyKetchoupp
Fixes #29506
2019-10-23Fixed variables with built-in resource in remote inspectorPouleyKetchoupp
Now loading the base resource first in ScriptEditorDebugger, the same way it's done in ScriptEditorPlugin. Fixes #33013
2019-10-23Implement game camera overrideErik
Implemented uniform API in Viewport class to override 2D and/or 3D camera. Added buttons in 2D and 3D editor viewport toolbars that override the running game camera transform with the editor viewport camera transform. Implemented via remote debugger protocol and camera override API. Removed LiveEditFuncs function pointers from ScriptDebugger class. Since the debugger got access to the SceneTree instance (if one exists), there is no need to store the function pointers. The live edit functions in SceneTree are used directly instead. Also removed the static version of live edit functions in SceneTree for the same reason. This reduced the SceneTree -> Debugger coupling too since the function pointers don't need to be set from SceneTree anymore. Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'. This is because the remote debugger is now using SceneTree directly and 'core/' classes should not depend on 'scene/' classes.
2019-10-02Inspector: select self object after selecting a stack framelupoDharkael
2019-09-26Fix remote-tree not displaying the node typeEmmanuel Barroga
Fixes the remote-tree not displaying the node's type like the local-tree does.
2019-09-25Show C++ error condition in script editor debuggerRémi Verschelde
This was removed by @RyanStein in #21884 in the case where an error message is provided, but this is actually useful information to have even when there is a custom error message. This PR makes it so that the "C++ Error" is shown whenever there is a custom error message provided. Also adds method name to the error item title, and re-adds the most relevant info in the tooltip for quick error checks without expanding. Renames C Error/Source to C++ Error/Source, since that's what it is. And fix untranslatable entry due to misuse of TTR(). And some more cleanup for readability. Cf. https://github.com/godotengine/godot/issues/32276#issuecomment-534119914
2019-09-23Merge pull request #32258 from Calinou/improve-debugger-shortcut-uxRémi Verschelde
Improve the debugger shortcut UX
2019-09-23Merge pull request #32049 from codecustard/fix_remoteview_navto_inspectedRémi Verschelde
Fix Remote Tree Navigate to Inspected
2019-09-22Improve the debugger shortcut UXHugo Locurcio
- Display the shortcut in the button tooltips by defining the shortcut on the buttons as well. - Swap "Step Over" and "Step Into" in the Debug menu to match the button order in the Debugger bottom panel.
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-09-19Merge pull request #31961 from YeldhamDev/info_messagesRémi Verschelde
Add informational messages to various editors
2019-09-08Fix Remote Tree Navigate to InspectedEmmanuel Barroga
Fixes the regression of remote-tree not navigating to what is being inspected in the inspector.
2019-09-05Merge pull request #31989 from ↵Rémi Verschelde
sparkart/revert-30833-fix_inspector_clear_remote_node Revert "Fix Clearing Inspector for Remote Node"
2019-09-05Merge pull request #31870 from JFonS/add_network_profilerFabio Alessandrelli
Add network profiler
2019-09-05Revert "Fix Clearing Inspector for Remote Node"Emmanuel Barroga
2019-09-05Add network profilerjfons
2019-09-04Add informational messages to various editorsMichael Alexsander Silva Dias
2019-09-03Adds skip-breakpoints featureiwek7
2019-08-23Merge pull request #30833 from sparkart/fix_inspector_clear_remote_nodeRémi Verschelde
Fix Clearing Inspector for Remote Node
2019-07-30Fixed remote scene tree not collapsingSilvano Cerza
2019-07-25Fix Clearing Inspector for Remote NodeEmmanuel Barroga
Resolves: #30731 When you stop debugging... if you were inspecting a remote node, partial information about the remote node remained in the inspector (e.g. name and warning). To resolve this, called EditorNode::edit_current() instead of EditorInspector::edit(NULL), which will call all the methods required using "NULL" if the current selected object is NULL. In EditorPath::update_path() if the selected object is NULL, it does not update the path to reflect this change, basically does nothing. To fix this, we nullify everything, before the history loop.
2019-07-25Fix text position in the debugger's "Monitors" tab not being an integerMichael Alexsander Silva Dias
2019-07-24Center text in the debugger's "Monitors" tabMichael Alexsander Silva Dias
2019-07-19Merge pull request #23270 from silvanocerza/remote_scene_tree_filterRémi Verschelde
Implemented remote scene tree filtering
2019-07-01Merge pull request #28884 from vnen/yield-resume-stackRémi Verschelde
Keep GDScript functions in stack while yielding
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Merge pull request #29463 from Faless/editor/debugger_take_connectionRémi Verschelde
Editor debugger now always handle connections.
2019-06-19Editor debugger now always handle connections.Fabio Alessandrelli
The editor debugger used to only take the first client connection, leaving potential new connections hanging until TCP timeout. This caused a lock after some time when running multiple game/editor instances, as the client will fill the write buffer, and then lock until timeout (as the editor server would never read from that socket). The editor now drops new connections immediately if it is already connected to a client.
2019-06-08Fix display of large sizes in the editor monitorsHugo Locurcio
Unlike the old custom method, the `String::humanize_size()` method works well with file sizes above 2 GB. This also tweaks the suffixes for spacing consistency and uses the correct acronym for exabytes (EB). This closes #29610.
2019-06-03Improve the performance monitor displayHugo Locurcio
- Use dark colors when using a light theme for better visibility - Enable antialiasing (only effective when using the GLES3 renderer) - Make graph lines thinner but opaque - Scale graph line widths on hiDPI displays
2019-05-29Merge pull request #25516 from bojidar-bg/25487-folding-remote-treeRémi Verschelde
Fix remote scene tree root folding
2019-05-27Implemented remote scene tree filteringSilvano Cerza
User can now filter the remote scene tree, like the local one is filtered, while the game is running
2019-05-17Now able to "Copy Node Path" from Remote tab". Fixes issue 28585.hbina085
2019-05-14Show function name in debugger stack traceGeorge Marques
Also show script and line when the instance is gone when resuming from yield.
2019-04-29Merge pull request #28101 from MunWolf/debugger_cursorRémi Verschelde
Added a marker in text_edit that tells which row is executing.
2019-04-25Debugger's inspector doesn't clear it values on every debug actionElias Rammos
2019-04-23Added a marker in text_edit that tells which row is executing.Rikhardur Bjarni Einarsson
2019-04-06Merge pull request #25995 from lupoDharkael/csvRémi Verschelde
Add CSV export to profiling data
2019-03-28Add CSV export to profiling datalupoDharkael
2019-03-20Revert accidental commitsPedro J. Estébanez
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4. This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
2019-03-20Create live view dock [wip]Pedro J. Estébanez
2019-03-06Cleanup relationship line coding after 5f079e2Michael Alexsander Silva Dias
2019-03-06-Make tileset and meshlibrary edit in a separate inspector, fixes #26671Juan Linietsky
-Made relationship lines appear based on theme settings, not previous hack -Fix drawing of relationship lines (was broken) -Fix double initialization of theme settings
2019-02-28Fixed Errors Tab Indexing Bug in the DebuggerErik
FIxed bug with Errors tab in the Debugger using wrong index in the tab container. Also removed unused variable that was probably left behind.