Closed
Bug 131805
Opened 22 years ago
Closed 22 years ago
can't debug when running an opt mozila build!
Categories
(SeaMonkey :: UI Design, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.0
People
(Reporter: dougt, Assigned: dougt)
References
Details
(Keywords: topembed+)
Attachments
(1 file, 1 obsolete file)
662 bytes,
patch
|
dougt
:
review+
alecf
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Okay this totally sucks. I am running 0.99 and I cant debug a trunk build. This DDE stuff has to be optional based on some env.
Assignee | ||
Comment 1•22 years ago
|
||
set MOZ_NO_DDE_SERVER before you run mozilla and the run will ignore the DDE server.
Comment 2•22 years ago
|
||
Comment on attachment 74789 [details] [diff] [review] patch v.1 r=darin (thank you!)
Attachment #74789 -
Flags: review+
What exactly do you want this to do? The patch not only turns off the "dde server" but it also blocks creation of the MessageWindow, which maybe you didn't intend. Anyways, provided you're happy with that restriction, then I'd just suggest changing the env variable name to something more generic, like "MOZ_RUN_STANDALONE" or some such. "MOZ_NO_DDE_SERVER" would seem to me to apply just to the "this->StartDDE();" line slightly further down. You're not so much disabling the DDE server as you are ignoring an already running instance of Mozilla (i.e., an already existing MessageWindow, which I think is implementation detail to most folks).
Assignee | ||
Comment 4•22 years ago
|
||
I didn't want the var name generic, or at least I wanted it windows specific.
But my point is that you don't give a flip about the DDE server. We don't use DDE to communicate between new instances of mozilla.exe and already running ones, so it seems odd to name the environment variable "MOZ_NO_DDE_SERVER." Isn't this Windows-centric enough already (it is only used in this one win32-only module)?
Assignee | ||
Comment 6•22 years ago
|
||
MOZ_NO_DDE ?
Hmmm, seems I'm having trouble making myself understood. Let me try again. There is only 1 line of code that has *anything* to do with DDE. That's the call to StartDDE(). If we just up and remove that call, you still have your problem (starting a second Mozilla just sends a message to the first). If we move that call ahead of your check for MOZ_NO_DDE_SERVER, then you'd still get what you want when you specify MOZ_NO_DDE_SERVER. Ergo, the problem has *nothing* to do with DDE. It isn't a DDE issue. It's a *message window* issue. Now your patch happens to turn off the DDE server when it detects MOZ_NO_DDE_SERVER, but that's just coincidence. It also turns off the -turbo mode systray icon. But there's no way we'd name the environment variable "MOZ_NO_SYSTRAY_ICON." I'm just saying we shouldn't name it MOZ_NO_DDE_SERVER, either, for the same reason.
Assignee | ||
Comment 8•22 years ago
|
||
darin, dan, any name suggestions?
Comment 9•22 years ago
|
||
i defer to law, conrad (or anyone else)... i'm out of my element here ;-)
Assignee | ||
Updated•22 years ago
|
Severity: normal → blocker
Priority: -- → P1
Hardware: PC → Other
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 10•22 years ago
|
||
MOZ_NO_REMOTE <- similar to xremote
Comment 11•22 years ago
|
||
That's fine. No normal user would likely make the connnection, but it's not for them anyway.
Assignee | ||
Comment 12•22 years ago
|
||
changes the name of the env var.
Attachment #74789 -
Attachment is obsolete: true
Assignee | ||
Comment 13•22 years ago
|
||
Comment on attachment 75655 [details] [diff] [review] patch v.2 carrying forward r= from darin.
Attachment #75655 -
Flags: review+
Comment 14•22 years ago
|
||
per dougt this helps for a lot of other topembed bugs. So a plus.
Comment 15•22 years ago
|
||
Comment on attachment 75655 [details] [diff] [review] patch v.2 sr=alecf
Attachment #75655 -
Flags: superreview+
Comment 16•22 years ago
|
||
Comment on attachment 75655 [details] [diff] [review] patch v.2 a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #75655 -
Flags: approval+
Assignee | ||
Comment 17•22 years ago
|
||
Checking in nsNativeAppSupportWin.cpp; /cvsroot/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp,v <-- nsNativeAppSupportWin.cpp new revision: 1.63; previous revision: 1.62 done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 18•22 years ago
|
||
*** Bug 40109 has been marked as a duplicate of this bug. ***
Comment 19•22 years ago
|
||
*** Bug 191734 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•