Commit graph

2764 commits

Author SHA1 Message Date
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
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
mterwoord_cp
517d531896 Almost looks like sqlite might just be working again... 2013-07-28 16:09:58 +00:00
HugeCode_cp
c4feb83d64 SqlLite 2013-05-25 11:38:31 +00:00
melikesPCcheese_cp
d578b6dace Registered the provider and connection centrally in DebugInfo.cs instead of in each file that uses DebugInfo as this is better coding practice. Fixed the EntityFramework not found bug on build of OS by modifying installer. 2013-05-01 14:55:25 +00:00
melikesPCcheese_cp
5a41a3d0a4 Removed the requirement for Local DB 2012 in the devkit builder. 2013-04-29 17:01:17 +00:00
melikesPCcheese_cp
c9767a986f Fixed the database connection and DbFactoryProvider bug. 2013-04-29 16:47:25 +00:00
melikesPCcheese_cp
a7811a7622 2013-04-28 09:28:30 +00:00
mterwoord_cp
46b7d1222c 2013-04-20 08:57:27 +00:00
clearosdev_cp
bb80277c13 Added printdebug because if you are using both Cosmos.kernel and cosmos.hardward you have issues with the gobal class. 2013-03-25 18:16:49 +00:00
clearosdev_cp
d2291b23a7 2013-03-16 20:36:06 +00:00
AtomOS_cp
18b8c68f7f Read Block Mistake Fixed.... 2013-03-14 08:42:08 +00:00
clearosdev_cp
4cb0fe5ad6 I added a user playground for myself and started prototyping a stand alone debugger. Right now it just deals with command line arguments. 2013-03-13 23:52:03 +00:00
joshbeitler_cp
bde021281b Added some XML doc comments in Kernel.cs 2013-03-13 16:07:33 +00:00
mterwoord_cp
ff41b7ecf1 Updated version of my playground and small tweaking of the IL2CPU task. 2013-03-10 16:27:08 +00:00
mterwoord_cp
e6dbfc19a2 2013-03-10 15:53:52 +00:00
AtomOS_cp
272ee6eb36 2013-03-10 11:52:51 +00:00
AtomOS_cp
2985078561 2013-03-03 13:26:59 +00:00
geramy_cp
02682136b2 Fixed the build errors changed the VMWaeLib target framework to 2.0 2013-02-27 12:58:44 +00:00
mterwoord_cp
01ed2e4916 Upgrade docs project and VMWare lib to .net 4 2013-02-27 07:14:10 +00:00
geramy_cp
1f89ba0477 This was part of the BulkInsert<T> fix. 2013-02-18 19:32:02 +00:00
geramy_cp
3473bb6a9a I have resolved the bulk insert issue there is now commented out debugging code it will create debug files for each bulk insert currently we only have 30 files that means 30 bulk insert calls this is good :) 2013-02-18 13:09:21 +00:00
mterwoord_cp
7ea9f2a15e 2013-02-16 10:16:02 +00:00
mterwoord_cp
551a75fdfc Solved String.Empty issue on machines having .net 4.5 installed 2013-02-15 11:04:42 +00:00
mterwoord_cp
1dd5d3e733 2013-02-15 09:56:49 +00:00
geramy_cp
441a6ba8ef Got the debugger even more stable then it was before. 2013-02-14 12:30:29 +00:00
geramy_cp
13b19a2637 my pending changes for fixing Cosmos Assembly 2013-02-03 16:58:12 +00:00
geramy_cp
f5edb722c6 Assembly window doesnt seem to be crashing because i can do asm stepping. 2013-02-03 16:40:10 +00:00
geramy_cp
eab46e2cb0 Fixed asm stepping. also fixed IL2CPU Profiler and changed Label replace chars with a compiled regex. 2013-02-03 16:10:16 +00:00
geramy_cp
4e3328ec3a Matthijs did some changes to IL2CPU Profiler something is going weird further investigation required. 2013-02-03 13:22:49 +00:00
geramy_cp
2247ce6cea last commit for fixing the debugger now testing assembly debugger 2013-02-03 12:15:25 +00:00
geramy_cp
ff57733731 Fixed the last two errors in Cosmos.VS.WindowsPackage no more debug crashing yay :) 2013-02-03 11:54:51 +00:00
geramy_cp
ba915c87ff Fixed the Debugger. 2013-02-03 11:52:34 +00:00
geramy_cp
237448cfb5 2013-02-03 11:52:22 +00:00
geramy_cp
719c40ec96 Semi-Working Debugging. 2013-02-02 21:19:30 +00:00