Commit graph

280 commits

Author SHA1 Message Date
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
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
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
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
kudzu_cp
e311eff315 Removed reversesourceinfos. 2012-08-08 03:51:54 +00:00
kudzu_cp
b53fde6b48 About to begin killing off old debug metadata. 2012-08-08 03:46:51 +00:00
kudzu_cp
c0a2b14b4b 2012-08-08 01:35:54 +00:00
kudzu_cp
cabc95bf6a 2012-08-08 01:26:59 +00:00
kudzu_cp
6cc797fb89 2012-08-07 21:03:48 +00:00
kudzu_cp
8536a39de0 2012-08-07 20:46:16 +00:00
kudzu_cp
0a730c7524 GUID label parsing from map. 2012-08-07 20:10:00 +00:00
kudzu_cp
ea194e1c8b Method End GUID label. 2012-08-07 19:49:21 +00:00
kudzu_cp
f87223003d Label GUIDs 2012-08-07 06:27:04 +00:00
kudzu_cp
3011120e5e 2012-08-07 04:55:39 +00:00
kudzu_cp
9154ebec11 2012-08-07 03:03:18 +00:00
kudzu_cp
440b8ff60f 2012-08-07 02:48:32 +00:00
kudzu_cp
3d2e7d8640 2012-08-07 01:47:53 +00:00
kudzu_cp
e099a451cc 2012-08-07 00:48:57 +00:00