Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fire onThreadAttached event

  • Loading branch information...
commit e92139c98705ec1f9916b6885a4d6d8485873a10 1 parent 0b1edaf
@janodvarko janodvarko authored
View
36 extension/content/firebug/debugger/commands.js
@@ -9,9 +9,6 @@ function(FBTrace, RDP) {
// ********************************************************************************************* //
// Constants
-// ********************************************************************************************* //
-// Command Implementation
-
function pauseGrip(context, args)
{
var actor = args[0];
@@ -47,34 +44,6 @@ function pauseGrip(context, args)
return Firebug.Console.getDefaultReturnValue(context.window);
}
-function tabGrip(context, args)
-{
- var actor = args[0];
- var type = args[1];
-
- var context = Firebug.currentContext;
- if (!context)
- return "No current context";
-
- if (!actor)
- return "No actor specified";
-
- if (!type)
- return "No type specified";
-
- var packet = {
- to: actor,
- type: type
- };
-
- Firebug.proxy.connection.request(packet, function(response)
- {
- Firebug.Console.log(response);
- });
-
- return Firebug.Console.getDefaultReturnValue(context.window);
-}
-
// ********************************************************************************************* //
// Registration
@@ -83,11 +52,6 @@ Firebug.registerCommand("pauseGrip", {
description: "Helper command for accessing server side Grips. For debugging purposes only."
})
-Firebug.registerCommand("tabGrip", {
- handler: tabGrip.bind(this),
- description: "Helper command for accessing server side tab child Grips. For debugging purposes only."
-})
-
return {};
// ********************************************************************************************* //
View
2  extension/content/firebug/debugger/debuggerTool.js
@@ -69,6 +69,8 @@ var DebuggerTool = Obj.extend(Firebug.Module,
if (callback)
callback(activeThread);
+
+ self.dispatch("onThreadAttached", [activeThread]);
});
},
Please sign in to comment.
Something went wrong with that request. Please try again.