DotGNU Portable.NET - Bugs: bug #9151, (new StackFrame(1,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #9151: (new StackFrame(1, true)).GetFileName() sometimes returns null when it shouldn't
Submitter: | Richard Baumann <Rich333> | ||
Submitted: | Fri 28 May 2004 11:55:47 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Sat 29 May 2004 02:40:15 PM UTC, comment #1: |
Gopal.V <t3rmin4t0r> |
Fri 28 May 2004 11:55:47 PM UTC, original submission:
Creating a stack frame for the previous method in the call stack does not always produce a valid stack frame for that method. The GetFileName method sometimes returns null when it shouldn't. It appears to be a problem with the offset calculations, because increasing the amount of code in the previous method can cause the stack frame for that method to work correctly. I've attached a test case which has blocks of code which can be defined in to show how the behavior changes. There's a comment at the beginning of the test case class explaining what each define does.
|
Richard Baumann <Rich333> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2004-05-29 | t3rmin4t0r | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2004-05-28 | Rich333 | Attached File | - | Added stack-frame-test-case.cs, #1354 |
Powered by Savane 3.13-bb6a.
Corresponding source code
Fixed in CVS 29th May 2004 (didn't make it into 0.6.6)
The problem was when the native offset matched the last debug marker ... now it checks for the "==" case as well as ">" case.