Commit graph

2811 commits

Author SHA1 Message Date
kudzu_cp
e00334baa9 2014-07-14 14:11:28 +00:00
kudzu_cp
0b123bc06e 2014-07-14 14:09:51 +00:00
mterwoord_cp
e9a2fb40df . 2014-07-13 22:33:53 +00:00
kudzu_cp
52f2bd9189 2014-07-13 22:20:16 +00:00
kudzu_cp
0e7a13e738 2014-07-13 22:16:42 +00:00
kudzu_cp
9dc7ff5b1f 2014-07-13 17:33:00 +00:00
mterwoord_cp
d76989ddd5 . 2014-07-13 14:06:09 +00:00
kudzu_cp
7d700a8d10 2014-07-13 00:09:11 +00:00
kudzu_cp
5946127f03 2014-07-12 23:18:07 +00:00
kudzu_cp
609aebe90b 2014-07-12 18:47:29 +00:00
kudzu_cp
c3030c2726 2014-07-12 18:47:23 +00:00
mterwoord_cp
a2f9f00505 Ongoing fixes. 2014-07-12 17:56:58 +00:00
kudzu_cp
863a78a4a5 2014-07-12 17:42:06 +00:00
mterwoord_cp
70d0128603 small perf fixes.. 2014-07-12 16:56:28 +00:00
mterwoord_cp
47f83e0b34 Compiler fixes and other fixes. 2014-07-12 16:05:56 +00:00
kudzu_cp
e907fcfc85 2014-07-12 15:22:09 +00:00
mterwoord_cp
c1920d35c4 EditorConfig files 2014-07-12 13:02:48 +00:00
mterwoord_cp
8f30e7675d Several changes again. 2014-07-12 13:02:10 +00:00
Trivalik_cp
10052cd8d8 reduce Dispatcher.Invoke calls, use now the Application.Current.Dispatcher, fix exception on FindWindow, assembler stepping is working for me without mterwood's changes 2014-07-12 11:28:44 +00:00
mterwoord_cp
66133c640d . 2014-07-11 13:45:39 +00:00
mterwoord_cp
200fb6c631 . 2014-07-11 13:14:28 +00:00
mterwoord_cp
68ca31e1d3 . 2014-07-10 20:24:54 +00:00
mterwoord_cp
476d3faacd assembler debugger fix 2014-07-10 14:15:36 +00:00
mterwoord_cp
c603c1cb0c 2014-07-08 13:46:00 +00:00
mterwoord_cp
522b841c69 . 2014-07-07 16:07:20 +00:00
mterwoord_cp
2425e32b43 Automated stack corruption detection 2014-07-07 15:31:36 +00:00
mterwoord_cp
b86ec15cf9 several performance related fixes, and some functional improvements. 2014-07-06 18:27:24 +00:00
mterwoord_cp
4e3ac84f24 compile fix. 2014-07-04 21:36:50 +00:00
mterwoord_cp
b7b15a12d1 Performance improvements.. 2014-07-04 19:28:27 +00:00
mterwoord_cp
53d0bb991e Assembly stepping works again. 2014-07-04 17:37:45 +00:00
Trivalik_cp
fadd2cc844 in case Cosmos.VS.Wizards.dll is installed but Cosmos User Kit folder is empty, then you get a COMException, with this change is it gone 2014-07-01 15:19:23 +00:00
Trivalik_cp
52b95cd2e9 handle not valid changeset number on UserKit creation 2014-06-30 20:19:10 +00:00
mterwoord_cp
693739f11a Several changes. 2014-06-29 15:44:08 +00:00
kudzu_cp
001211a441 2014-06-29 15:33:48 +00:00
Trivalik_cp
f43f792a84 check args.RequestingAssembly.Location in CurrentDomain_AssemblyResolve, this allow build with project reference to library project 2014-06-23 18:41:03 +00:00
Trivalik_cp
780c43e6af Cosmos.VS.Package.csproj: remove empty ItemGroup 2014-06-13 04:54:52 +00:00
Trivalik_cp
7de24dc736 DebugConnector: remove useless ToString() call 2014-06-13 04:52:14 +00:00
Trivalik_cp
ef9a884f88 Task.cs: make error message for exit code of application identical 2014-06-13 04:49:12 +00:00
AtomOS_cp
b4e746fcf8 Made Dup IL working for stack content size greater than 4 2014-06-11 05:38:33 +00:00
Trivalik_cp
be23b66945 FatStream: remove down cast and comment which is outdated 2014-05-29 21:24:52 +00:00
Trivalik_cp
930fcadba2 apply patch 16367
by VirusFree:
this is a fixed patch for the fatstream
2014-05-29 20:57:34 +00:00
Trivalik_cp
b4d823463b VSProjectFactory: remove dupplicate local variable
VSProjectNode: remove dupplicate locale variable,
do build cancel if a build fail, prevent build of cosmos project if c# project has a build error
2014-04-25 20:11:57 +00:00
Trivalik_cp
dffd201cfd Callvirt: remove calc of label name which is never used 2014-04-22 19:44:05 +00:00
lcr_watson_cp
c863b669fd 2014-04-20 15:37:09 +00:00
Trivalik_cp
4484f292a5 GDB client, change address to detect when should continue to label Kernel_Start 2014-04-19 12:47:36 +00:00
lcr_watson_cp
e9baf08566 Visual Studio Install Path now detected from registry. 2014-04-18 13:56:17 +00:00
Trivalik_cp
19080593a2 add guid check whether vix com object is existing before vmware is closed on stop debug action 2014-04-17 18:43:12 +00:00
Trivalik_cp
50c817994b fix GDB client address resolution. was broke since changeset 92982, cause obj file was changed to bin, offset is set on symbol load to 0x02000000 2014-04-14 18:16:10 +00:00
Trivalik_cp
eccb4f1899 fix map file creation for projects with whitespace 2014-04-05 19:11:25 +00:00
Trivalik_cp
5852e08780 CosmosTask.cs: remove directory creation, cause msbuild does it on build in Step CompileCosmos(), also if its already existing it was never created! 2014-03-30 18:57:45 +00:00
Trivalik_cp
4d43779df5 Task.cs: add return value to message text for user if application return exit code != 0
CosmosProject C# remove unneeded folders
2014-03-30 11:06:25 +00:00
Trivalik_cp
4cab9d7c03 VBProjKernel.vbproj: remove bracket from ProjectGuid, cause a dupplicate bracket was generated, this leed to recreate a valid guid which is missmatching the reference from our .cosmos project 2014-03-30 06:35:42 +00:00
Trivalik_cp
e78be33937 remove old comment from vstemplates 2014-03-29 22:39:20 +00:00
Trivalik_cp
7e5e874d57 Tasks.cs: add params for remove readonly, update CosmosTask to work with it
IL2CPUTask: check if EnabledLogging is used, if file could be created, so it will be disabled then and make use of them in ILScanner
2014-03-29 15:04:14 +00:00
Trivalik_cp
f0e99d7653 LabelName: dont replace [] with nothing, cause we need it for be unique name 2014-03-28 22:08:23 +00:00
Trivalik_cp
f53e37f6b4 BaseToolTask: change ExtendLineError() to allow to specifiy filename and linenumber for the existing columns in "Error List", this reduce message text
Nasm: apply changes of BaseToolTask
2014-03-27 21:29:21 +00:00
Trivalik_cp
c554bc4eba nasm buid task: remove dupplicate message, add error text to ErrorList 2014-03-27 20:14:13 +00:00
Trivalik_cp
60fad85a77 OurHashSet: do it without reflection 2014-03-24 22:09:23 +00:00
Trivalik_cp
a24e966a71 optimize label's, fix warnings 2014-03-24 21:25:32 +00:00
Trivalik_cp
4f489cf88f LogUtility: handle if file is deleted during run 2014-03-23 20:11:21 +00:00
Trivalik_cp
7a0120adc8 reduce name concat in ILScanner, PlugManager
fix warnings
2014-03-23 20:09:22 +00:00
Trivalik_cp
82f68a5ab7 remove empty folders 2014-03-23 20:04:48 +00:00
Trivalik_cp
8311e919b0 revert other name of setup name, remove dupplicate backslash 2014-03-19 20:51:29 +00:00
Trivalik_cp
8d10b23211 fix bug 16765, remove need of devkit path in registry 2014-03-19 19:13:15 +00:00
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