Re: JSD: Multiple users

"Justin Wood (Callek)" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
James Ross wrote:
> JSD rocks. That's all well and good.
> 
> But it can only be intimate with one front end at a time without things 
> going really pear-shaped.
> 
> My question is two-fold. Should there be some way to say "I'm using JSD, 
> hands off" so that all (sane) debuggers can see that something else is 
> involved and just error instead of messing, or should JSD support 
> multiple clients? (wont that be fun to code?)
> 
> Could the latter option even be realistically done?
> 

I would do something (if possible) like:

 >Client Debugger "I want to Debug You"
 >JS App< "I'm using JSD Hands Off"
 >Client Debugger< "But I need to Debug this _myself_, I don't care who 
else is debugging".

 >JS App to running debugger< "Recieved an interrupt request, object if 
you need to cancel"
 >Running Debugger< [No response in 30sec (?)]

 >JS App< "Ok, you got the debugger."


IOW, provide an ability for a new JSD instance to cancel the old. 
Again, this is "iff possible" ('iff' spelled correctly in this case).

I do not feel supporting multiple clients is worth the effort involved, 
honestly.
~Justin Wood (Callek)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.