codecat / asdbg

A remote debugger for AngelScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible improvements

mctb32 opened this issue · comments

Some ideas for improvements to the library and debugger gui:

  • focus / flash app when breakpoint is hit
  • add Visual Studio style keyboard shortcuts to basic flow commands (Resume F5, Step Over F10, etc.).
  • clicking on items in Call Stack should jump to this file/position if possible
  • view global variables
  • make the pane with the scripts treeview resizable 9or slightly larger)
  • Add “Save” option to the script editor, to actually modify the scripts. This could send a message to the host app, so that it could actually reload and rebuild the scripts via a callback.
  • Allow working with multiple AS contexts

All very good points, thanks!

Didn't I already implement the call stack click to jump to location? Perhaps it's double click. I know I needed that at some point too so I added it.

Edit: Ah, I remember now, I didn't implement that because it would also require showing local variables for the other stack frames. Not very hard to add to the host code though.

Yeah, it seems jump to location is not there yet. We have #include support in our scripts, so the same script can have sections from various files in the same callstack. It looks good (the filenames displayed in the callstack are allright) so we're just missing the jump to location function.

I think if you're using the CScriptBuilder addon it'll handle the filenames and line numbers just fine when using #include, indeed.