Skip to content

Instantly share code, notes, and snippets.

View Ankur008's full-sized avatar

Ankur008

  • New Delhi
View GitHub Profile
@Ankur008
Ankur008 / ProGuard-rules.pro
Last active February 20, 2020 06:35
Proguard file
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
{
"status":"success"
}
{
 "isActive":true
}
func verbose(t *Term, ctx callContext, args string) error {
state, err := t.client.Next()
if args=="first" {
//fmt.Println("calling cont")
customCont(t,ctx,args)
}else{
printFileLine(t, state.CurrentThread.File, state.CurrentThread.Line, true)
}
@Ankur008
Ankur008 / command.go
Created October 13, 2017 12:07
Func to print the line no, code and current local variable with value
func printCode(t *Term, filename string, line int, showArrow bool,th *api.Thread,ctx callContext,args string) error {
file, err := os.Open(t.substitutePath(filename))
if err != nil {
return err
}
defer file.Close()
fi, _ := file.Stat()
30532 silly cache afterAdd [email protected]
30533 verbose afterAdd /home/itstym/.npm/lodash/3.10.1/package/package.json not in flight; writing
30534 verbose correctMkdir /home/itstym/.npm correctMkdir not in flight; initializing
30535 verbose afterAdd /home/itstym/.npm/lodash/3.10.1/package/package.json written
30536 silly addBundled read tarball
30537 silly cleanup remove extracted module
30538 verbose stack TypeError: Cannot read property 'deep-extend' of undefined
30538 verbose stack at /usr/local/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:35:40
30538 verbose stack at Array.filter (native)
30538 verbose stack at inflateShrinkwrap (/usr/local/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js:34:49)