Closed Bug 981321 Opened 11 years ago Closed 6 years ago

Port developer tools from Thunderbird to Instantbird

Categories

(Instantbird Graveyard :: Other, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: clokep, Unassigned)

Details

(Whiteboard: [1.6-wanted])

At least the remote debugger seems to work, as Mic found out: > /* This snippet runs on the error console. > * You need to enable debugging in about:config first: > * devtools.debugger.remote-enabled:true > */ > > var debuggerServer = Components.utils.import("resource://gre/modules/devtools/dbg-server.jsm"); > DebuggerServer.init(); > DebuggerServer.addBrowserActors(); > DebuggerServer.openListener(6000); > > /* Connect Firefox to localhost:6000 then. */ We should get all this stuff working with Instantbird to make it easier to debug everything. Things that might be of interest: [1], maybe attachment 775150 [details] [diff] [review]. [1] http://mxr.mozilla.org/comm-central/source/mail/components/devtools/
Whiteboard: [1.6-wanted]
22:39 Fallen clokep: pong 22:40 clokep Fallen: Hey I was wondering what the state of the devtools stuff for TB was, i.e. how much is it to add it to Instantbird? (Is it just adding that menu button "Allow Remote Debugging")? 22:41 clokep Fallen: bug 981321 (for reference) 22:41 firebot Bug https://bugzilla.mozilla.org/show_bug.cgi?id=981321 enh, --, ---, nobody, NEW, Port developer tools from Thunderbird to Instantbird 22:42 Fallen clokep: you are on gecko 24, right? 22:42 clokep Fallen: We're in c-c. ;) 22:45 Fallen clokep: let me give you an extension, please check if using it is enough 22:47 Fallen clokep: http://mozilla.kewis.ch/dbgserver-30.0a1.en-US.xpi 22:47 clokep Fallen: So that's the extension from components/devtools? 22:47 Fallen yeah 22:47 Fallen if that works, the you really just need to copy the bits of that extension. This will work until bug 942756 lands, you'll have to make a few slight changes 22:47 firebot Bug https://bugzilla.mozilla.org/show_bug.cgi?id=942756 nor, --, ---, paul, NEW, Unify the different ways we start the debugger server 22:48 Fallen The patch for tb is bug 972903 22:48 firebot Bug https://bugzilla.mozilla.org/show_bug.cgi?id=972903 nor, --, ---, philipp, ASSI, Adapt Debugger Server startup code for changes in bug 942756 22:49 clokep Fallen: So maybe I'm stupid...but how do I connect Fx to the remote debugger? :( 22:49 Fallen https://developer.mozilla.org/en-U...ols/Remote_Debugging/Thunderbird 22:50 clokep Fallen: "Tools" > "Web Developer" > "Connect..." does not exist for me. 22:50 Fallen you need to enable the remote debugging pref 22:51 Fallen devtools.debugger.remote-enabled 22:51 Fallen then "connect…" will appear 22:51 clokep Fallen: OK I was able to connect. 22:52 Fallen then click on "main process" 22:52 clokep Yup. I got it. :)
Thanks for asking! I installed the extension and Console, Inspector (how do you: use the "Select item"-feature? Change windows?), Debugger, Style editor (doesn't show labels (path/number of rules) in the list), Profiler, Scratchpad are working. I ran only simple commands on the Console and Scratchpad though but they did what I expected. For example I checked if there's IB components in Components.classes... I couldn't use the network monitor though. Looks great already :)
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
You need to log in before you can comment on or make changes to this bug.