Commit graph

185 commits

Author SHA1 Message Date
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
476d3faacd assembler debugger fix 2014-07-10 14:15:36 +00:00
mterwoord_cp
b86ec15cf9 several performance related fixes, and some functional improvements. 2014-07-06 18:27:24 +00:00
mterwoord_cp
53d0bb991e Assembly stepping works again. 2014-07-04 17:37:45 +00:00
mterwoord_cp
693739f11a Several changes. 2014-06-29 15:44:08 +00:00
Trivalik_cp
a24e966a71 optimize label's, fix warnings 2014-03-24 21:25:32 +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
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
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
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
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
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
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
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
mterwoord_cp
517d531896 Almost looks like sqlite might just be working again... 2013-07-28 16:09:58 +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
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
BlueSkeye_cp
7372c8a9bd Bochs integration : alpha version
Limitations :

- Bochs must be installed on the system. This is not checked as a  prerequisite by the Builder.
- You will find a GuessForBochs Cosmos project under BlueSkeye user project folder that can be used to launch the Guess project under Bochs.
- You may have to fix manually the path for the following properties in Cosmos.bxrc file copied to the CosmosForBochs\Bin\Debug folder
  * romimage
  * vgaromimage
- The Cosmos project UI is not yet Bochs aware. If you do not use the GuessForBochs project you must manually edit your Cosmos project file to modify the following property in both the Debug and Release property group from the project file :

    <Launch>Bochs</Launch>

  You must also add the following properties in both the Debug and Release property group from the project file :

    <BochsConfig>Cosmos.bxrc</BochsConfig>
    <Bochs_Deployment>ISO</Bochs_Deployment>
    <Bochs_Launch>Bochs</Bochs_Launch>
    <Bochs_DebugEnabled>True</Bochs_DebugEnabled>
    <Bochs_DebugMode>Source</Bochs_DebugMode>
    <Bochs_IgnoreDebugStubAttribute />
    <Bochs_VMwareEdition>Player</Bochs_VMwareEdition>
    <Bochs_OutputPath>bin\Debug\</Bochs_OutputPath>
    <Bochs_Framework>MicrosoftNET</Bochs_Framework>
    <Bochs_UseInternalAssembler>False</Bochs_UseInternalAssembler>
    <Bochs_TraceAssemblies />
    <Bochs_EnableGDB>False</Bochs_EnableGDB>
    <Bochs_StartCosmosGDB>false</Bochs_StartCosmosGDB>
    <Bochs_Name>GuessForBochs</Bochs_Name>
    <Bochs_Description>Use Bochs emulator to deploy and debug.</Bochs_Description>
    <Bochs_VisualStudioDebugPort>Pipe: Cosmos\Serial</Bochs_VisualStudioDebugPort>
    <Bochs_PxeInterface>192.168.43.1</Bochs_PxeInterface>
    <Bochs_SlavePort>Serial: COM3</Bochs_SlavePort>
    <Bochs_ShowLaunchConsole>False</Bochs_ShowLaunchConsole>
2012-09-14 17:13:06 +00:00
kudzu_cp
d67d05685c 2012-08-03 05:17:12 +00:00
kudzu_cp
f448f37754 2012-08-02 06:33:12 +00:00
kudzu_cp
981f952da2 2012-07-30 16:50:35 +00:00
kudzu_cp
21e16c48f1 2012-07-30 16:16:48 +00:00
kudzu_cp
44d19280b7 2012-07-30 15:51:07 +00:00
kudzu_cp
d8c9b35fb6 2012-07-30 15:31:22 +00:00
kudzu_cp
9985e3f9ea 2012-07-30 15:26:15 +00:00
kudzu_cp
8344cf29a7 Asm Stepping 2012-07-30 04:30:38 +00:00
kudzu_cp
1630ee78cb 2012-07-30 04:04:37 +00:00
kudzu_cp
82c083e35a 2012-07-30 03:50:04 +00:00
kudzu_cp
3ee738c9fe Eliminated Cosmos.Debug.Consts, merged into Cosmos.Debug.Common as DebugStub now has its own copy fo consts in X#. 2012-07-17 02:39:08 +00:00
kudzu_cp
f6032272ee Const name change 2012-07-16 21:32:43 +00:00
mterwoord_cp
13e01261fd Initial code for X# compiler, compiler tester, and installer changes (?) 2012-06-06 16:54:43 +00:00
kudzu_cp
624ade312e 2012-06-04 17:34:19 +00:00
kudzu_cp
01cf0bf074 2012-03-26 01:54:10 +00:00
kudzu_cp
dd96e77414 2012-03-26 01:02:24 +00:00
kudzu_cp
17dbb4b2e5 2012-03-26 00:53:33 +00:00
kudzu_cp
d6a829c5c6 2012-03-26 00:07:44 +00:00
kudzu_cp
22a9fb8cef 2012-03-25 23:14:52 +00:00
kudzu_cp
15a35f091d 2012-03-25 23:06:53 +00:00
kudzu_cp
4657811098 2012-03-25 22:17:47 +00:00