1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Definitions for the run mode debug test thread. |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef RMDEBUGSVRTHRD_H |
|
19 #define RMDEBUGSVRTHRD_H |
|
20 |
|
21 #define SYMBIAN_RMDBG_MEMORYSIZE 1024*4 |
|
22 |
|
23 // Thread name |
|
24 _LIT(KDebugThreadName,"DebugThread"); |
|
25 |
|
26 const TUint KDebugThreadDefaultHeapSize=0x10000; |
|
27 |
|
28 // enumeration of functions which the target debug thread can call, the |
|
29 // debugger can choose to switch the thread to a different function by |
|
30 // writing the appropriate enumeration value into FunctionChooser, the |
|
31 // target thread will finish executing the function it is currently running |
|
32 // then execute the chosen function. |
|
33 enum TTestFunction |
|
34 { |
|
35 EDefaultFunction = 0, |
|
36 EStepFunction = 1, |
|
37 EDemandPagingFunction = 2, |
|
38 EMultipleTraceCalls = 3, |
|
39 }; |
|
40 |
|
41 class CDebugServThread : public CBase |
|
42 { |
|
43 public: |
|
44 CDebugServThread(); |
|
45 static TInt ThreadFunction(TAny* aStarted); |
|
46 |
|
47 public: |
|
48 }; |
|
49 |
|
50 #endif // RMDEBUGSVRTHRD_H |
|