I used the mpy-cross utility to turn a .py into a bytecode .mpy file.
Is it possible to decompile the .mpy into human readable format?
Search found 629 matches
- Mon Oct 02, 2017 8:54 pm
- Forum: Development of MicroPython
- Topic: how to decompile bytecode into human readable format
- Replies: 15
- Views: 14143
- Fri Sep 29, 2017 7:12 pm
- Forum: Development of MicroPython
- Topic: Debugger plans?
- Replies: 5
- Views: 5788
Re: Debugger plans?
Can't speak for the authors but I think there's more important work to do at the moment, debugging might not fit in the 'Micro' spirit, and it might not really be needed: in most cases a little bit of knowledge of uPy's internals and knowing how to use your favourite C debugger are just as good, if...
- Thu Sep 28, 2017 10:06 pm
- Forum: Development of MicroPython
- Topic: Debugger plans?
- Replies: 5
- Views: 5788
Re: Debugger plans?
Ping. Any updates?mikaeleiman wrote:Hi,
I've looked around for plans on adding support for debugging Python code when running Micropython, but didn't find a whole lot other than someone saying "that's worth discussing" here on the forum.
Are there any plans?
- Mon Sep 25, 2017 1:51 pm
- Forum: General Discussion and Questions
- Topic: how to list all available modules to import
- Replies: 3
- Views: 3160
Re: how to list all available modules to import
help('modules') That gives me this: >>> help('modules') object modules is of type str decode -- <function> encode -- <function> find -- <function> rfind -- <function> index -- <function> rindex -- <function> join -- <function> split -- <function> rsplit -- <function> startswith -- <function> endswi...
- Fri Sep 22, 2017 8:47 pm
- Forum: Announcements and News
- Topic: Forum FAQ
- Replies: 6
- Views: 62316
Re: Forum FAQ
It would be really helpful to mark a thread as CLOSED/SOLVED to help other people.
Ideally, the thread author or admin could do it or more trusted users could vote to close
....
Which brings me to another point: it'd be nice to have functionality similar to stackoverflow.
Ideally, the thread author or admin could do it or more trusted users could vote to close
....
Which brings me to another point: it'd be nice to have functionality similar to stackoverflow.
- Thu Sep 21, 2017 6:16 pm
- Forum: Development of MicroPython
- Topic: heap - what if it's disabled?
- Replies: 1
- Views: 1853
- Fri Sep 15, 2017 8:05 pm
- Forum: General Discussion and Questions
- Topic: how to list all available modules to import
- Replies: 3
- Views: 3160
how to list all available modules to import
What's the command, to run on serial console, to list all the available modules that can be imported?
- Fri Sep 15, 2017 1:42 pm
- Forum: Announcements and News
- Topic: Forum FAQ
- Replies: 6
- Views: 62316
- Thu Sep 14, 2017 1:24 pm
- Forum: Development of MicroPython
- Topic: what does function nlr_jump do?
- Replies: 1
- Views: 2058
what does function nlr_jump do?
I'm refactoring micro python into a C++ class but I don't know if I need to include the following function __attribute__((noreturn)) __attribute__((naked)) void nlr_jump(void *val) { nlr_buf_t **top_ptr = &(mp_state_ctx.thread.nlr_top); nlr_buf_t *top = *top_ptr; if (top == ((void *)0)) { nlr_jump_f...