Skip to content

Commit

Permalink
Merge branch 'dev/migrie/f/remoting.dll' into dev/migrie/f/the-first-…
Browse files Browse the repository at this point in the history
…galactic-empire
  • Loading branch information
zadjii-msft committed Jan 5, 2021
2 parents c088895 + 921d915 commit 00184e7
Show file tree
Hide file tree
Showing 99 changed files with 2,344 additions and 1,142 deletions.
2 changes: 1 addition & 1 deletion .github/actions/spell-check/dictionary/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dictionaries are lists of words to accept unconditionally

While check spelling will complain about a whitelisted word
While check spelling will complain about an expected word
which is no longer present, you can include things here even if
they are not otherwise present in the repository.

Expand Down
2 changes: 2 additions & 0 deletions .github/actions/spell-check/dictionary/apis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ localtime
lround
LSHIFT
msappx
MULTIPLEUSE
NCHITTEST
NCLBUTTONDBLCLK
NCRBUTTONDBLCLK
Expand All @@ -57,6 +58,7 @@ otms
OUTLINETEXTMETRICW
overridable
PAGESCROLL
REGCLS
RETURNCMD
rfind
roundf
Expand Down
1 change: 1 addition & 0 deletions OpenConsole.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2157,6 +2157,7 @@ Global
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|DotNet_x64Test.ActiveCfg = AuditMode|Win32
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|DotNet_x86Test.ActiveCfg = AuditMode|Win32
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|x64.ActiveCfg = Release|x64
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|x64.Build.0 = AuditMode|x64
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|x86.ActiveCfg = AuditMode|Win32
{43CE4CE5-0010-4B99-9569-672670D26E26}.AuditMode|x86.Build.0 = AuditMode|Win32
{43CE4CE5-0010-4B99-9569-672670D26E26}.Debug|Any CPU.ActiveCfg = Debug|Win32
Expand Down
2 changes: 1 addition & 1 deletion doc/AddASetting.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Yes, the large majority of the `DEFINE_PROPERTYKEY` defs are the same, it's only the last byte of the guid that changes

2. Add matching fields to Settings.hpp
- add getters, setters, the whole drill.
- Add getters, setters, the whole drill.

3. Add to the propsheet
- We need to add it to *reading and writing* the registry from the propsheet, and *reading* the link from the propsheet. Yes, that's weird, but the propsheet is smart enough to re-use ShortcutSerialization::s_SetLinkValues, but not smart enough to do the same with RegistrySerialization.
Expand Down
14 changes: 14 additions & 0 deletions doc/TAEF.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,17 @@ Invoke-OpenConsoleTests
```

`Invoke-OpenConsoleTests` supports a number of options, which you can enumerate by running `Invoke-OpenConsoleTests -?`.


### Debugging Tests

If you want to debug a test, you can do so by using the TAEF /waitForDebugger flag, such as:

runut *Tests.dll /name:TextBufferTests::TestInsertCharacter /waitForDebugger

Replace the test name with the one you want to debug. Then, TAEF will begin executing the test and output something like this:

TAEF: Waiting for debugger - PID <some PID> @ IP <some IP address>

You can then attach to that PID in your debugger of choice. In Visual Studio, you can use Debug -> Attach To Process, or you could use WinDbg or whatever you want.
Once the debugger attaches, the test will execute and your breakpoints will be hit.
Loading

0 comments on commit 00184e7

Please sign in to comment.