Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 4 and 5 Forum

Notes/Domino 4 and 5 Forum

developerWorks

  


RE: program to extract debug flags
Sang Yam 25.Sep.99 09:33 AM a Web browser
Domino Designer -- Other All releases


Hello here is a program to dump the debug flags, but most usage are unknown, anyone know their usage ?


#
# DumpFlag.pl
#
# Description: Dump pattern from @infile and save in $outfile
# where the pattern is \w*$ARGV[0]\w+
#
# Purpose: Dump debug flag from Lotus Notes
#
# Usage: perl -w DumpFlag.pl string
# e.g. for most debug flags, type perl -w DumpFlag.pl "DEBUG_"
#
# Written by Yam Ho Sang, Oct 1999,Sang_Yam@media-i-t.com
#

@infile = < *.dll *.exe >;
$outfile = "$ARGV[0]_FLAG.TXT";
$txtViewer = "NOTEPAD";

open ( OUTFILE, ">$outfile" ) || die "Cannot open file $outfile";
foreach $infile ( sort @infile )
{
print "Searching file $infile for \"$ARGV[0]\" \n";
@debugFlag = ();
open ( INFILE, $infile ) || die "Cannot open file $infile";
binmode INFILE;
while ( <INFILE> )
{
while ( ($debugFlag) = /(\w*$ARGV[0]\w+)/i )
{
$_ =~ s/.*$debugFlag//;
push( @debugFlag, "$debugFlag\n" );
}
}
if ( @debugFlag )
{
print OUTFILE "\n- $infile\n";
print OUTFILE sort @debugFlag;
}
close( INFILE );
}
close( OUTFILE );
system( "$txtViewer $outfile" );



And here is the result for running on R4.6, by find "DEBUG_", some debug flag, e.g. TraceSSLHandshake will miss.



- nadminp.exe
DEBUG_ADMINP

- namgr.exe
DEBUG_AMGR
DEBUG_AMGR_DISABLE_FAST_LOADING

- natalk.dll
DEBUG_AT_ALL
DEBUG_AT_ERRORS
DEBUG_AT_INITTERM
DEBUG_AT_NAMESERVER
DEBUG_AT_OTHER
DEBUG_AT_POLL
DEBUG_AT_POST
DEBUG_AT_QUEUEIO
DEBUG_AT_RECEIVE
DEBUG_AT_RECEIVEDG
DEBUG_AT_SEND
DEBUG_AT_SENDDG
DEBUG_AT_SERVICE
DEBUG_AT_SESSION
DEBUG_AT_TIMING
DEBUG_AT_TMP
DEBUG_AT_WAIT
DEBUG_NETERRORS

- ncollect.exe
DEBUG_COLLECT

- neditfax.dll
DEBUG_DOCCOMPUTE

- nevent.exe
DEBUG_EVENT

- nftvdk.dll
DEBUG_FTV_ERRORS
DEBUG_FTV_ERROR_STACK
DEBUG_FTV_HIGHLIGHTS
DEBUG_FTV_INDEX
DEBUG_FTV_LEX
DEBUG_FTV_NOTEID
DEBUG_FTV_SEARCH
DEBUG_VDK
DEBUG_VDK_HEAP_CHECK_COUNT
DEBUG_VDK_SHOW_HEAP_STATS

- nisesctl.exe
_DEBUG_TASKS
_DEBUG_TOOL

- nldap.exe
DEBUG_LDAP_INDEX

- nnetbios.dll
DEBUG_NB_ALL
DEBUG_NB_INITTERM
DEBUG_NB_NAMESERVER
DEBUG_NB_NCBS
DEBUG_NB_OTHER
DEBUG_NB_POLL
DEBUG_NB_POST
DEBUG_NB_QUEUEIO
DEBUG_NB_RECEIVE
DEBUG_NB_RECEIVEDG
DEBUG_NB_SEND
DEBUG_NB_SENDDG
DEBUG_NB_SERVICE
DEBUG_NB_SESSION
DEBUG_NB_STATUS
DEBUG_NB_TABLES
DEBUG_NB_TIMING
DEBUG_NB_TMP
DEBUG_NB_WAIT

- nnntp.exe
NNTP_DEBUG_NEWNEWS

- nnotes.dll
DEBUG_ABORT_RESPONSE
DEBUG_ACCESS
DEBUG_ASYNCIO
DEBUG_AUX
DEBUG_BAD_BUFFERS
DEBUG_BAD_BUFFERS_BREAKPOINT
DEBUG_CAPTURE_TIMEOUT
DEBUG_CENDP_NTI
DEBUG_CONSOLE
DEBUG_CURSOR
DEBUG_DBALLOC
DEBUG_DBCOMPACT
DEBUG_DBOPEN
DEBUG_DEADLOCK
DEBUG_DIRECTORY_ASSISTANCE
DEBUG_DIRECTORY_CACHE
DEBUG_DISABLE_DIRECTORY_CACHE
DEBUG_DISABLE_DIRMAN_REFRESH
DEBUG_DISABLE_DIR_REFRESH_CACHE
DEBUG_DISABLE_FAIRSEM
DEBUG_DISABLE_INCR_REPL
DEBUG_DISABLE_REPL_OPT
DEBUG_DOCSTOFETCH
DEBUG_ENABLE_ODS21
DEBUG_ENV_IO
DEBUG_FIXED_BUFFERS
DEBUG_FOLDER
DEBUG_FOLDER_REPL
DEBUG_FT_HIGHLIGHTS
DEBUG_FT_HL_FIELDNAME
DEBUG_FT_STREAM
DEBUG_GROUP_CACHE
DEBUG_IDTABLE
DEBUG_IGNORE_RESPONSE_ERR
DEBUG_INUSECOUNT
DEBUG_LOCATIONS
DEBUG_MULTIDB_INDEXING
DEBUG_NAMELOOKUP
DEBUG_NETBAUD
DEBUG_NETERRORS
DEBUG_NETIO
DEBUG_NET_ADDIOWAITMSECS
DEBUG_NET_AUTOCONFIG
DEBUG_NET_MAX_BUFFER_SIZE
DEBUG_NET_RECYCLING
DEBUG_NET_SCALING
DEBUG_NET_START_BAUD
DEBUG_NET_TERM
DEBUG_NIF
DEBUG_NIF_INDEX
DEBUG_NIF_OVERRIDE_VERSION
DEBUG_NIF_POOL
DEBUG_NIF_READ
DEBUG_NIF_STATS
DEBUG_NIF_TEST
DEBUG_NOBUFFER
DEBUG_NOSTDOUT
DEBUG_NO_PRIORITY
DEBUG_NSF
DEBUG_NSF_BTREE
DEBUG_NSF_BUF
DEBUG_NSF_DBCACHE
DEBUG_NSF_DB_NONSUMMARY_APPEND_PERCENT
DEBUG_NSF_DB_NONSUMMARY_APPEND_SIZE
DEBUG_NSF_EH
DEBUG_NSF_FUNC_STATS
DEBUG_NSF_ITEM_STATS
DEBUG_NSF_MAX_NONSUMMARY_BUCKET_SIZE
DEBUG_NSF_MAX_SUMMARY_BUCKET_SIZE
DEBUG_NSF_M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_POST
DEBUG_REMOTE_LAN
DEBUG_REPL
DEBUG_REPL_ALL
DEBUG_REPL_CLASS
DEBUG_REPL_CONFLICT_MERGE
DEBUG_REPL_TIME
DEBUG_REPL_UNID
DEBUG_RRV
DEBUG_RRV_USAGE
DEBUG_SCANLOCK
DEBUG_SCHED_AGE_MQ_OFF
DEBUG_SCHED_ALL
DEBUG_SCHED_CLIENT
DEBUG_SCHED_CLIENT_POLL
DEBUG_SCHED_CONTAINER
DEBUG_SCHED_LOCAL
DEBUG_SCHED_MAXODSTREESIZE
DEBUG_SCHED_NAB_ACCESS
DEBUG_SCHED_NAMES
DEBUG_SCHED_REMOTE
DEBUG_SCHED_SERVER
DEBUG_SELECT_FIELDS_NOUI
DEBUG_SEM_BLOCK_PRINT
DEBUG_SEM_MAXSPINDELAY
DEBUG_SEM_TIMEOUT
DEBUG_SEM_TRAPTIME
DEBUG_SEM_TRAPTYPE
DEBUG_SERVER_SEARCH
DEBUG_SHARED_NET_BUFFS_OFF
DEBUG_SHOW_TIMEOUT
DEBUG_SPINLOCK_ITERATIONS
DEBUG_STDERR
DEBUG_SYMDEB
DEBUG_THREADID
DEBUG_TRAP_CORRUPTION
DEBUG_USE_OLD_NAME_FIELD_LOOKUP
DEBUG_VPOOLCHECKING
SECURE_ABPI_DEBUG_LOG
ldap_set_debug_level

- nnotesws.dll
DEBUG_DOCCOMPUTE
DEBUG_SCHUI

- nnspx.dll
DEBUG_NETERRORS
DEBUG_NW_ALL
DEBUG_NW_BINDERY
DEBUG_NW_ERRORS
DEBUG_NW_INITTERM
DEBUG_NW_NAMESERVER
DEBUG_NW_OTHER
DEBUG_NW_POLL
DEBUG_NW_POST
DEBUG_NW_QUEUEIO
DEBUG_NW_QUIET
DEBUG_NW_RECEIVE
DEBUG_NW_RECEIVEDG
DEBUG_NW_SAP
DEBUG_NW_SEND
DEBUG_NW_SENDDG
DEBUG_NW_SERVICE
DEBUG_NW_SESSION
DEBUG_NW_STATUS
DEBUG_NW_TIMING
DE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SPX

- nobject.exe
DEBUG_OBJECT_STORE
DEBUG_SHOW_TIME

- nomsgcnv.exe
SMTPMTA_OCH_DEBUG_TIMER

- nosesctl.exe
SMTPMTA_DEBUG_WQ
_DEBUG_TASKS
_DEBUG_TOOL

- noseshlr.exe
SMTPMTA_DEBUG_WQ

- nras.dll
Debug_Remote_LAN

- nreport.exe
DEBUG_REPORT

- nsap.dll
NSAP_DEBUG_ALL

- nsapdmn.exe
NSAP_DEBUG_ALL
NSAP_DEBUG_SAP

- nsched.exe
DEBUG_SCHEDULE

- nserverl.dll
DEBUG_ACCESS
DEBUG_BREAK
DEBUG_DIRLINKS
DEBUG_DISABLE_FLUSHALL
DEBUG_NAMESERVER
DEBUG_NIFCALLS
DEBUG_NOMPCHECK
DEBUG_NOTEOPEN
DEBUG_NSFCALLS
DEBUG_RECEIVEDATA
DEBUG_RECEIVES
DEBUG_SCHEDULING
DEBUG_SCHRETCALLS
DEBUG_SENDDATA
DEBUG_SENDS
DEBUG_STATISTICS
DEBUG_TASKLATENCY
SERVER_DEBUG_CLUSTERS

- nservice.exe
DEBUG_NTSERVICE

- nsmtpmta.exe
_DEBUG_TASKS
_DEBUG_TOOL

- nsslplus.dll
DEBUG_SSL_ADD_CA
DEBUG_SSL_ALL
DEBUG_SSL_BREAK
DEBUG_SSL_CERT
DEBUG_SSL_CRYPTO
DEBUG_SSL_DOMINO
DEBUG_SSL_HANDSHAKE
DEBUG_SSL_INTERNALS
DEBUG_SSL_IO
DEBUG_SSL_PACKET

- nstats.exe
DEBUG_STATS

- ntcp.dll
DEBUG_NETERRORS
DEBUG_TCP_ALL
DEBUG_TCP_ERRORS
DEBUG_TCP_INITTERM
DEBUG_TCP_NAMESERVER
DEBUG_TCP_OTHER
DEBUG_TCP_POLL
DEBUG_TCP_POST
DEBUG_TCP_QUEUEIO
DEBUG_TCP_QUIET
DEBUG_TCP_RECEIVE
DEBUG_TCP_RECEIVEDG
DEBUG_TCP_SEND
DEBUG_TCP_SENDDG
DEBUG_TCP_SERVICE
DEBUG_TCP_SESSION
DEBUG_TCP_TIMING
DEBUG_TCP_TMP
DEBUG_TCP_WAIT
DEBUG_TCP_WKP

- nvines.dll
DEBUG_BV_ALL
DEBUG_BV_ERRORS
DEBUG_BV_INITTERM
DEBUG_BV_NAMESERVER
DEBUG_BV_OTHER
DEBUG_BV_POLL
DEBUG_BV_POST
DEBUG_BV_QUEUEIO
DEBUG_BV_QUIET
DEBUG_BV_RECEIVE
DEBUG_BV_RECEIVEDG
DEBUG_BV_SEND
DEBUG_BV_SENDDG
DEBUG_BV_SERVICE
DEBUG_BV_SESSION
DEBUG_BV_TIMING
DEBUG_BV_TMP
DEBUG_BV_WAIT
DEBUG_BV_WKP
DEBUG_NETERRORS

- nweb.exe
DEBUG_RETRIEVER

- waauth.dll
DEBUG_WEBADMIN_AUTH



. . RE: DEBUG_ Notes.ini parameters (Ricardo Sueiras... 6.May.99)
. . . . RE: DEBUG_ Notes.ini parameters (Simon Harpham 6.May.99)
. . . . RE: DEBUG_ Notes.ini parameters (Ruth Inman 6.May.99)
. . . . . . RE: DEBUG_ Notes.ini parameters (Simon Harpham 6.May.99)
. . . . . . DEBUG_SSL_HANDSHAKE (Dan Astradan 6.May.99)
. . . . . . . . RE: DEBUG_SSL_HANDSHAKE (Simon Harpham 6.May.99)
. . . . . . . . . . RE: look here (temp guy 6.May.99)
. . . . . . . . . . . . RE: look here (Simon Harpham 6.May.99)
. . . . . . . . . . . . . . RE: look here (temp guy 6.May.99)
. . . . . . . . . . . . . . . . RE: look here (Simon Harpham 7.May.99)
. . . . . . . . . . . . . . . . RE: look here (Simon Harpham 7.May.99)
. . . . . . . . . . . . . . . . . . RE: look here (temp guy 7.May.99)
. . . . . . . . . . . . . . . . . . . . RE: look here (Simon Harpham 10.May.99)
. . . . . . . . . . . . . . . . . . RE: look here (Julie Kadashevi... 7.May.99)
. . . . . . . . . . . . . . . . . . . . RE: look here (Simon Harpham 10.May.99)
. . . . . . . . . . . . . . . . . . . . RE: program to extract debug flags (Sang Yam 25.Sep.99)






  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search


 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

  Lotus Support
Lotus Support
Product support pages index
Search knowledge base (Technotes)
Search support downloads
Lotus Support RSS

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow