Commit graph

592 commits

Author SHA1 Message Date
Trivalik_cp
4484f292a5 GDB client, change address to detect when should continue to label Kernel_Start 2014-04-19 12:47:36 +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
a24e966a71 optimize label's, fix warnings 2014-03-24 21:25:32 +00:00
Trivalik_cp
7a0120adc8 reduce name concat in ILScanner, PlugManager
fix warnings
2014-03-23 20:09:22 +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
daec8cd24b Patched Locals issues when ASM stepping. 2014-01-15 22:18:12 +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
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
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
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
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
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
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
c9767a986f Fixed the database connection and DbFactoryProvider bug. 2013-04-29 16:47:25 +00:00
mterwoord_cp
46b7d1222c 2013-04-20 08:57:27 +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
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
geramy_cp
441a6ba8ef Got the debugger even more stable then it was before. 2013-02-14 12:30:29 +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
BlueSkeye_cp
d64f99adf3 Add Bochs debugging support to Visual Studio Cosmos project (UI).
A new pane and associated launch type is added in the Cosmos project properties pane.
2012-09-20 09:41:02 +00:00
BlueSkeye_cp
6a91eeb14f Fix additional error conditions for issue #5628 2012-09-19 17:15:19 +00:00
BlueSkeye_cp
4acc61602c Fix a missing parenthesis in changeset #95785 2012-09-19 15:56:08 +00:00
BlueSkeye_cp
4fbfd90584 Fix issue #15628 : IL2CPU crashes when Cosmos project directory is deleted and recreated 2012-09-19 15:34:55 +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
460ef24805 2012-08-13 00:23:22 +00:00
kudzu_cp
263281a2f0 Faster stepping. 2012-08-12 15:29:07 +00:00
kudzu_cp
ad815d3d97 2012-08-12 10:00:27 +00:00
kudzu_cp
b6ff2883b6 2012-08-12 00:31:19 +00:00
kudzu_cp
fbbba12851 2012-08-12 00:19:44 +00:00
kudzu_cp
7a5307d32d 2012-08-11 21:38:39 +00:00
kudzu_cp
92ee9c4a3b 2012-08-11 21:33:02 +00:00
kudzu_cp
3d55cea968 2012-08-11 14:38:56 +00:00
kudzu_cp
23bc3aca3b Debugger work 2012-08-10 00:56:37 +00:00