Commit graph

2697 commits

Author SHA1 Message Date
EdwardNutting_cp
cbd1b81ffb LabelName: Was removing underscores from method namesfor readability. Caused bug with Buffer.__Memcpy where Buffer.MemCpy and Buffer._Memcpy were also used labels.
PlugManager: bug in my design fixed.
FatFileSystem: completed the todo that said trailing periods should be ignored.
Buffer: Added __Memcpy plug so that String.Trim method compiles so that FAT code will compile.
2014-02-04 16:27:16 +00:00
EdwardNutting_cp
658a629be3 Plugs Inspector "Run with Null params" gives more exception information / handles TargetInvocationException more intelligently. 2014-02-01 14:45:39 +00:00
EdwardNutting_cp
1215c115cd Plugs Inspector app made much more advanced.
Displays .Net Classes which have been plugged in a list. On selecting one, it displays the Cosmos classes that plug that .Net class and all the plugged/unplugged methods (including private/hidden methods).
You can select a plugged method and run it with all Null parameters to see what it does.
2014-02-01 14:35:58 +00:00
EdwardNutting_cp
b7fbc80043 Basic Plugs Inspector code working - it can load plugs from all referenced assemblies correctly and display the list of plugs. 2014-02-01 12:21:04 +00:00
EdwardNutting_cp
3bc116caa3 Extracted ILScanner plug code into new PlugManager class for use in Plug Inspector app.
Added project for Plug Inspector app.
Added my own test project.
2014-02-01 10:46:46 +00:00
EdwardNutting_cp
22083f2f46 IL2CPU now checks plug classes/methods for correct/valid targets.
IL2CPU plugs updated to remove invalid plugs - Matthijs, please check the changes! :)
2014-01-31 19:23:25 +00:00
EdwardNutting_cp
8c0b7ee579 - Clearing INT3s now clears everything in the list not just INT3s for current method – more thorough cleanup that prevents accidental build up of INT3s
- Clearing INT3s will not clear INT3s that should be permanent. 
 - ASM Window filters debug NOPs that have been set to INT3
2014-01-18 12:47:43 +00:00
EdwardNutting_cp
efbb80d8b3 Fixed VS Break button. 2014-01-18 11:29:01 +00:00
EdwardNutting_cp
9bde4fe11b Improvements to DS speed. We now insert NOP placeholders for INT3s in preference to actually inserting the INT3s (though we still insert some INT3s so DS can process messages etc). Improves DS speed especially on larger methods with large numbers of C# lines between opening curly braces, "{". 2014-01-18 00:09:54 +00:00
EdwardNutting_cp
ba1e726e63 DS improvements - now tracks max BP Id so it can reduce / skip the BP scanner on each INT3. 2014-01-16 23:55:10 +00:00
EdwardNutting_cp
bf8aff71b2 Fixed the Locals bug properly now :) 2014-01-15 22:29:49 +00:00
EdwardNutting_cp
daec8cd24b Patched Locals issues when ASM stepping. 2014-01-15 22:18:12 +00:00
EdwardNutting_cp
232b61b8c2 Added Gutter UI instead of double click for BP. Light grey rectangle inidicates no BP. Click to set a BP (turns it Medium Violet Red). Click again to remove. 2014-01-14 19:52:44 +00:00
EdwardNutting_cp
73326cdd3c Added ASM Breakpoint feature - currently you have to double click to set an ASM BP. Gutter UI will be added. 2014-01-14 19:09:26 +00:00
EdwardNutting_cp
45f3002493 ASM window now scrolls to approximately the correct place for current line. 2014-01-11 17:48:29 +00:00
EdwardNutting_cp
c7a239f1c3 Fixes:
- VS error message when closing VS during a debugging session
 - VS can now do multiple debugging session in a row without needing restart. Issues: 
        - Unhandled exceptions in DataReceived event handler caused UpPipe to break resulting in total loss of connection between AD7Process and ToolsWindows
        - Added new code to clean out the Action handler that PipeServer uses. By holding onto the old Action reference, it was holding onto a reference to the old AD7Process instance thus reulting in all sorts of weird errors.
2014-01-11 16:25:10 +00:00
EdwardNutting_cp
996dc4399e Improvements to ASM window.
- Can now display ASM independantly of IL/C# lines.
 - Displays all ASM for current method.
2014-01-11 15:52:04 +00:00
EdwardNutting_cp
9ce8e5dfdb Bug fix for the new debugging stuff. 2014-01-10 22:47:16 +00:00
EdwardNutting_cp
87514cde77 All those debugger changes we've been waiting for ;) 2014-01-10 22:03:55 +00:00
EdwardNutting_cp
9bdc6d5931 VIX API required warning meesage. 2013-12-30 17:54:13 +00:00
EdwardNutting_cp
451cb3f2b4 Bug fixes:
- VS crashes completely without VIX API - now just shows error message in Output window.
 - Colours of text in Cosmos windows invisble in dark theme. Tenp fix: Bg colour forced to light,
 - XSharo project referencing outdated libraries.

Slowly fixing the debugger...
2013-12-30 17:03:19 +00:00
kudzu_cp
18013cd463 2013-12-30 15:02:48 +00:00
EdwardNutting_cp
308998fafc Added a bit more order to Kudzu's notes on what's left to do. 2013-12-26 21:20:20 +00:00
EdwardNutting_cp
2f836e466d Adds historical data to Cosmos views. Select lines of code highlighted in yellow in the Cosmos Assembly window to see the values of registers and arguments/stack when that line was last executed. 2013-12-26 20:43:03 +00:00
kudzu_cp
c138c8aa29 2013-12-26 16:56:35 +00:00
EdwardNutting_cp
407e5102eb Bug fixes:
- Single-level fields now work.
 - "This" in locals window now works - this and #1 were related to SQLite issue that was just a bad line of code
 - Arguments/Stack window now displays correct values. Used to display same value for both args and stack mistakenly.
2013-12-26 16:16:54 +00:00
EdwardNutting_cp
e10d739ff5 Fixes VS Stop Debugging button.
Fixes a number of issues reported on CodePlex.
2013-12-25 15:57:47 +00:00
EdwardNutting_cp
33fd366580 Final change for new release. 2013-12-24 18:05:49 +00:00
EdwardNutting_cp
a952b8ff4b Stabalises the debugger so VS should crash less often.
Locals window now works! (For primitive types and pointers only.) Exceptions related to unrecognised (i.e. more complex) types should be caught and display as the local variable's value instead of causing VS to crash. 
Autos window still causes instant VS crash.
Cosmos windows works.
Call Stack works (sort of...only ever displays current line)
Threads works (but there is only ever 1 thread so not very helpful)
Watch window is only capable of doing 1 watch result per break - step to next line to be able to run another - will look into why this is.
2013-12-24 16:53:49 +00:00
EdwardNutting_cp
3bc5c49263 Final changes that have made this stable ready for first VS2013-compatible beta release. 2013-12-21 18:17:25 +00:00
EdwardNutting_cp
bac3f98d56 VS2013 Support
This is relatively stable but no to be considered complete. Currently supported:
1. Installing user/dev kit (as normal)
2. Creating C#/VB/F# projects (latter 2 untested)
3. Debugging a Cosmos project - see limitations list below.

Debugging limitations:
1. Breakpoints sometimes fail to be hit. Only known thing that may help is recompile everything.
2. Specific breakpoint failure case: If you try and place a breakpoint on or after a "while(true)" statement it is extremely unreliable.

Other limitations:
1. VMWare occasionally breaks. If you get "Internal error" messages, or if VS crashes (don't let Windows "fix" it) or if VMWare fails to load properly there is only one known & reliable solution: Re-run the VMWare installer and hit "Repair". No restart required. You won't lose your VMs or settings (AFAI can tell).

If it all breaks, feel free to rant at it ;)
2013-11-06 21:01:49 +00:00
forest201_cp
16f469524b 2013-10-23 17:12:04 +00:00
forest201_cp
1935d18242 2013-10-23 16:05:56 +00:00
forest201_cp
1a915bfe5d 2013-10-23 16:05:40 +00:00
forest201_cp
95936330ee 2013-10-23 16:05:30 +00:00
forest201_cp
3cd7eb7d54 2013-10-23 15:16:45 +00:00
forest201_cp
ff2dbb49ef 2013-10-23 15:15:30 +00:00
forest201_cp
567b1396e4 2013-10-23 15:11:58 +00:00
forest201_cp
f138f0fb74 2013-10-23 14:52:23 +00:00
forest201_cp
7941736718 2013-10-23 14:46:20 +00:00
forest201_cp
697cb1292e 2013-10-23 14:37:59 +00:00
joshbeitler_cp
54ffbbd925 VS2012 progress, not stable. 2013-09-07 16:31:23 +00:00
kudzu_cp
5393689642 sqlite works! 2013-08-06 17:28:32 +00:00
mterwoord_cp
25c67d6d81 some refactoring in DebugInfo 2013-08-03 16:46:09 +00:00
HugeCode_cp
baede33f67 2013-08-02 15:47:05 +00:00
clearosdev_cp
203b923101 added string to byte array class 2013-08-02 00:09:56 +00:00
mterwoord_cp
38580055c7 2013-07-29 17:14:15 +00:00
mterwoord_cp
70f90dfa97 2013-07-28 18:11:20 +00:00
mterwoord_cp
2aefdb6cc4 missed some files.. and fixed uac problem 2013-07-28 17:47:56 +00:00
mterwoord_cp
297aa1ce6e sqlite work.. 2013-07-28 16:18:53 +00:00