Open main menu

CDOT Wiki β

Changes

Mozilla Source and Symbol Server

1,466 bytes removed, 09:43, 10 September 2007
rewrite
'''This needs to be turned into a project...'''
= IRC Log =09Mozilla has a [http:24 < luser> i'm all about "debuggable //developer.mozilla.org/en/docs/Using_the_Mozilla_symbol_server symbol server] for Windows builds that allows developers or users to debug nightly and release builds" now :)without having to ship debug symbols along with the builds. This can be very useful when a user has a problem that developers can't reproduce, or when you hit a crash or hang during your normal browsing, not using a debug build.
09:25 < luser> i need to figure out how to setup a source server 09:25 < luser> that would rock 09:25 <@dave> luser: you'll have to teach me more 09:25 <@dave> luser: we can host While this is very useful, it probably 09:25 <@dave> send me details 09:25 < luser> lemme give you a quick overview 09:25 < luser> on windows, you can build with debug info without building a debug build 09:25 < luser> you just get the pdbs 09:26 <@dave> yeah, Idoesn've seen that in t provide source-level debugging.mozconfigs 09:26 < luser> you You can also direct your debugger to look for symbols from a symbol server 09:26 < luser> so you can build a release buildsee function names and call stacks, put but not the source at the pdbs on a website, and then you can debug that build and get hte symbols as needed 09:26 <@dave> rightlocation, I've heard about that (e.g., MS has one and symbols you can download for the OS) 09:26 < luser> right 09:26 <@dave> interesting 09:27 <@dave> so let's do it 09:27 < luser> http://ted.mielczarek.org/which makes stepping through code/mozilla/firefox/nightly/latest-trunk/ 09:27 < luser> http://mavravery difficult.perilith.com/~luser/airbag-symbols/ 09:27 <@dave> or you've already done it 09:27 <@dave> ? 09:27 < luser> yeah Luckily, that code is checked in on trunk 09:27 < luser> we just need to figure out hte infrastructure for the symbol server etc 09:27 < luser> anyway 09:27 < luser> apparently that same architecture allows for Microsoft does provide a "source server" 09:28 < luser> so your debugger can locate source files while debugging 09:28 <@dave> that would be awesome. 09:28 < luser> conveniently, we already have all our source online, via lxr etc 09:28 < luser> so i think it should be doable 09:29 <@dave> well, if you want help, we should spec something for my guys means to do 09:29 < luser> it would be pretty sweet if all our windows nightly/release builds were debuggable out of the box 09:29 * dave thinks luser should add this source info to the boston devday wiki 09:29 < luser> debug symbols, called a [http://msdn2.microsoft.com/en-us/library/ms680641.aspx 09:29 < luser> that's the only thing i've seen about source server 09:31 < luser> actually yeah, ]. Your mission is to sort through the Microsoft documentation and figure out how to add this might be a good student project 09:31 < luser> i have a tinderbox setup at home to generate those builds+symbols 09:31 <@dave> I think this has promise 09:32 <@dave> the existing Mozilla symbol server. The reward is this ms source server perl stuff freely available? 09:32 <@dave> I bet we have it with our msdn license 09:32 < luser> *shrug* 09:32 < luser> i skimmed that page 09:32 < luser> that's it 09:34 <@dave> okhaving hundreds of developers and untold numbers of end users thank you for making life easier, I'm filing that under and difficult crashes easier to-be-continued 09:34 <@dave> great ideasfix.
= Additional Resources =
1
edit