vscode-realtime-debugging icon indicating copy to clipboard operation
vscode-realtime-debugging copied to clipboard

Naming

Open rescribet opened this issue 5 years ago • 5 comments
trafficstars

This might be a bit pedantic, but this seems like "live" debugging rather than real-time, especially since it's dependent on the underlying debugger as well (e.g. this chrome doc referring to 'live expressions' as near real-time)

rescribet avatar May 16 '20 09:05 rescribet

Yeah you're right.

However, I already have published an extension called "Live Debug", so the name was taken :D It does something similar, but is way more complicated, specific and buggy. However, I didn't want to unpublish it yet. This extension is also not a direct successor of Live Debug.

hediet avatar May 16 '20 14:05 hediet

What would you suggest to do?

hediet avatar May 16 '20 15:05 hediet

so the name was taken :D

Understandable

Instant or stream debugging?

rescribet avatar May 20 '20 11:05 rescribet

Do you think merging this extension into https://github.com/hediet/vscode-hediet-power-tools makes sense? Would solve the naming problem and probably both extensions could benefit from this in terms of publicity.

hediet avatar Jul 02 '20 10:07 hediet

I just had a thought, these two extensions don't necessarily have to be doing different things.

Each logpoint can be of different types -

  1. Current behavior, logpoint logs a certain message as an in-line overlay in the code editor.
  2. Logpoint logs a message to stdout with a particular syntax, and prints out a JSON description of a visualization to stdout; and a "web view" somewhere intercepts this stdout message and uses the JSON description to create or update a visualization. If ever a breakpoint is set, treat it also as a logpoint. After logpoint handling (printing to stdout and updating visualization) is done, that is when you actually break and let the debugger take control.

(The logpoint types aren't actually different, just the way in which logpoints are handled depends on what was printed.)

Sorry if it's dumb, but I feel like it makes sense. Does it?

DhruvDh avatar Dec 16 '20 22:12 DhruvDh