Need a way to trace function calls on Windows builds

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
9 years ago
6 months ago

People

(Reporter: taras.mozilla, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.98 KB, application/x-zip-compressed
Details
(Reporter)

Description

9 years ago
I need the desktop windows equivalent of work in bug 493427. I tried callcap on x86 and could not even get a simple testcase to work without crashing.

_penter is a functional equivalent, unfortunately I don't know assembler so I can't get it to work.
(Reporter)

Comment 1

9 years ago
Created attachment 441632 [details]
testcase

"__asm mov DWORD PTR [framePtr], ebp" causes the testcase to crash. That doesn't make any sense to me
(Reporter)

Updated

9 years ago
Attachment #441632 - Attachment is patch: false
Attachment #441632 - Attachment mime type: text/plain → application/zip
(Reporter)

Comment 2

9 years ago
Created attachment 441655 [details]
working testcase

Fixed the crash. khuey on #developers pointed out that I needed to make some room on the stack for the local variable.
http://msdn.microsoft.com/en-us/magazine/cc301382.aspx and http://msdn.microsoft.com/en-us/magazine/bb984918.aspx are somewhat useful for reference on this.
(Reporter)

Updated

9 years ago
Attachment #441632 - Attachment is obsolete: true

Updated

7 months ago
Product: Core → Firefox Build System

Comment 4

6 months ago
wontfix?
Flags: needinfo?(nika)

Comment 5

6 months ago
Yeah, I think so. We have the gecko profiler now.
Status: NEW → RESOLVED
Last Resolved: 6 months ago
Flags: needinfo?(nika)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.