Daniel Grunwald
2d0d4433f0
Fix NullReferenceException in Process.GetCurrentExecutingFrame
14 years ago
Daniel Grunwald
6bd47b7611
Revert David's debugger changes - they won't be part of SD 4.2.
...
This reverts commit 358b6cf691
.
This reverts commit 62265526a4
.
14 years ago
David Srbecký
62265526a4
Completely changed how debugger keeps state for nodes in local variables pad and in tooltips.
...
The old method was to keep a NRefactory expression for each node.
The new method is create a lambda expression for each node.
The main motivation for this change is to get ready for NR5 which does not allow any sharing of AST nodes. This would mean that we would have to create a complete AST for each node, which might get expensive for deeply nested nodes. Caching of already evaluated expression would also be more difficult with separate ASTs. ILSpy is based on NR5 so we need this solution for it right now.
Another disadvantage was that every operation had to go though AST so we had to support it in the evaluator, we had to generate the AST, and we had to hope that nothing breaks on the way. This is particularly complex for types - with lambda expression we simply keep around the reference to the type or to whatever we need. Some things like "current exception object" do not exist in the AST so we had to hack around it.
On the other had, it was nice to have accurate C# expression for all nodes - for pretty printing, editing, or saving/loading it.
14 years ago
Siegfried Pammer
db9e807f0f
fixed unit tests
14 years ago
Siegfried Pammer
a6289b3df0
fixed SD-1889 - NullReferenceException when pausing debugger
14 years ago
Eusebiu Marcu
509f3184d8
Support navigating to decompiled code from CallStackPad and RunningThreadsPad.
14 years ago
Eusebiu Marcu
f993d5a2a4
Make breakpoints work in decompiled code.
14 years ago
Eusebiu Marcu
fe947738a1
update local var pad
14 years ago
Eusebiu Marcu
4f22877fbf
Debug & evaluate third party code.
14 years ago
mkonicek
bbdf7cd77b
Redesigned debugging options panel in XAML.
14 years ago
Eusebiu Marcu
70ee998c95
Add memory pad for debugged process memory
14 years ago
mkonicek
8836f72720
GridValues - clearing debugger expression cache each 50 items to prevent keeping too many PermanentReferences.
15 years ago
Eusebiu Marcu
1c22e596a1
fix COMException when no entry point was found.
15 years ago
mrward
57400acf44
Fix build.
15 years ago
Eusebiu Marcu
c1d5d98e0e
Break at first line of execution
15 years ago
Eusebiu Marcu
b7b7c5cf6b
Fix SD-1753 - Attach to process dialog shows no managed processes after attaching to one process
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
David Srbecký
dea13e142d
Rewritten filename -> symbol document resolution
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6114 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
David Srbecký
0765d6db38
Reset JMC after obtaining dynamic symbols update. Some extra log messages. (This still does not fix IronPython 4.0)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6042 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
David Srbecký
85dc142e3b
Fixed a bug that could cause the debugger to freeze. (ie. all debugee threads suspended)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5303 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
b90c4ffe1b
Use other thread for evaluation if the current one is not suitable
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5301 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
63612c3c6d
Hopefully fixed "Process not synchronized." at ICorDebugThread.GetUserState
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5293 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
0305697c99
Disable steppers before detach
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5292 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
58b7e7476a
Fixed SD2-1467 - "Can't load file 17d14f5c-a337-4978-8281-53493378c1071.vb under ."
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5257 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8069a16fb5
Moved the debugger directory one level up
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5182 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
36a37b020a
Apply thread-suspend rules for threads created during the stepping
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5176 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
9da4702054
Suspend other threads during stepping
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5175 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8ee08d6071
Removed the Debugger.Internal namespace
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5171 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
aa57ee9b77
Guarantee type identity if names are equal
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5168 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
9f743baba9
Do not use the Project and Src directories in debugger
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5162 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
b461c24712
Making ExpressionEvaluator statically typed
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5157 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
63980d42de
Updating Debugger.Addin.
...
Use Stopwatch instead of the HighPrecisionTimer. (probably the same code under the covers)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5141 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
4e479b74e6
Moved the rest to the Debugger.Interop namespace. Renamed using statements.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5136 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
56671e4e8b
Matching directory names and namespaces
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5124 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
07c2eef28b
Moving some files around
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5123 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
abbec177d9
Merged partial classes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5115 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
b78ca5f3bd
Some ToStrings are more verbose. Removed some Ignore attributes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5113 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
c543ebd41f
backport "4826 Fixed race condition that was causing unit tests to fail" to 3.1
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5059 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
a63473d1da
Fixed race condition that was causing unit tests to fail
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4826 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
bac075bbcd
Reverted some convenience methods from r4745
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4764 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
4162f7ab31
Expression caching
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4745 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
4dca3978ca
Made the debugger is more aware of AppDomains. Most objects now know which appdomain they belong to.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
e89dd70d3c
Renaming files accordingly and some final touches
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4515 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
8ed71a4bf3
Created ThreadCollection class
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4513 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
b963238781
Created ModuleCollection class
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4512 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
0e7636d384
Created EvalCollection class
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4511 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
David Srbecký
73eff347f1
Created ProcessCollection class
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4510 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Justin Dearing
91af16cfeb
Fixed some comment typos.
...
Cleaned up using Statements.
added some Exception xml doc blocks.
Updated the projects to Visual Studio 3.5
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3648 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
David Srbecký
c19717ac7e
Methods for reading and writing of process memory. Test that breaks string immutability using memory write.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3585 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
David Srbecký
bb1c30b9b6
All debugging options are stored in a special purpose class which is then serialized into the SharpDevelop properties file.
...
Added ChainIndex and FrameIndex to the StackFrame class
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3222 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago